mirror of https://github.com/torvalds/linux.git
The PM_RESTORE_PREPARE is not handled now in mmc_pm_notify(),
as result mmc_rescan() could be scheduled and executed at
late hibernation restore stages when MMC device is suspended
already - which, in turn, will lead to system crash on TI dra7-evm board:
WARNING: CPU: 0 PID: 3188 at drivers/bus/omap_l3_noc.c:148 l3_interrupt_handler+0x258/0x374()
44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4_PER1_P3 (Idle): Data Access in User mode during Functional access
Hence, add missed PM_RESTORE_PREPARE PM event in mmc_pm_notify().
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| bus.c | ||
| bus.h | ||
| core.c | ||
| core.h | ||
| debugfs.c | ||
| host.c | ||
| host.h | ||
| mmc.c | ||
| mmc_ops.c | ||
| mmc_ops.h | ||
| pwrseq.c | ||
| pwrseq.h | ||
| pwrseq_emmc.c | ||
| pwrseq_simple.c | ||
| quirks.c | ||
| sd.c | ||
| sd.h | ||
| sd_ops.c | ||
| sd_ops.h | ||
| sdio.c | ||
| sdio_bus.c | ||
| sdio_bus.h | ||
| sdio_cis.c | ||
| sdio_cis.h | ||
| sdio_io.c | ||
| sdio_irq.c | ||
| sdio_ops.c | ||
| sdio_ops.h | ||
| slot-gpio.c | ||
| slot-gpio.h | ||