Files
linux/drivers/misc
Matthew Schwartz eac85fbd08 mmc: rtsx: reset power state on suspend
When rtsx_pci suspends, the card reader hardware powers off but the sdmmc
driver's prev_power_state remains as MMC_POWER_ON. This causes sd_power_on
to skip reinitialization on the next I/O request, leading to DMA transfer
timeouts and errors on resume 20% of the time.

Add a power_off slot callback so the PCR can notify the sdmmc driver
during suspend. The sdmmc driver resets prev_power_state, and sd_request
checks this to reinitialize the card before the next I/O.

Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>
Link: https://patch.msgid.link/20260105060236.400366-2-matthew.schwartz@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-01-16 16:36:50 +01:00
..
2025-12-19 12:42:23 -08:00
2025-10-22 07:54:15 +02:00
2025-06-24 16:45:08 +01:00
2024-05-22 08:31:17 -04:00
2024-10-13 17:11:51 +02:00
2022-12-15 10:37:26 -08:00