Files
linux/drivers/mmc/core
Ulf Hansson 66c915d09b mmc: core: Disable card detect during shutdown
It's seems prone to problems by allowing card detect and its corresponding
mmc_rescan() work to run, during platform shutdown. For example, we may end
up turning off the power while initializing a card, which potentially could
damage it.

To avoid this scenario, let's add ->shutdown_pre() callback for the mmc host
class device and then turn of the card detect from there.

Reported-by: Al Cooper <[email protected]>
Suggested-by: Adrian Hunter <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
2021-12-20 11:09:15 +01:00
..
…
2021-07-21 11:53:42 +02:00
2021-06-30 15:34:04 -06:00
2021-10-18 06:17:02 -06:00
2021-07-27 12:17:21 +02:00