aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2021-12-03 14:15:54 +0000
committerUlf Hansson <[email protected]>2021-12-20 10:09:15 +0000
commit66c915d09b942fb3b2b0cb2f56562180901fba17 (patch)
treecc524c76e200a44c4a0a040a1b196d7723ab0523 /tools/perf/scripts/python/event_analyzing_sample.py
parentmmc: sdhci-tegra: Fix switch to HS400ES mode (diff)
downloadkernel-66c915d09b942fb3b2b0cb2f56562180901fba17.tar.gz
kernel-66c915d09b942fb3b2b0cb2f56562180901fba17.zip
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]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions