kernel_optimize_test/drivers/mmc/core
Rafael J. Wysocki b0afd8f68a mmc: sdio: Add empty bus-level suspend/resume callbacks
Suspend methods provided by SDIO drivers are not supposed to be called by
the PM core.  Instead, when the SDIO core gets to suspend a device's
ancestor, it calls the device driver's suspend routine.  However, the PM
core executes suspend callback routines directly for device drivers whose
bus types don't provide suspend callbacks.  In consequece, because the
SDIO bus type doesn't provide a suspend callback, the SDIO drivers'
suspend routines will be executed by the PM core (which shouldn't
happen).

To prevent this from happening, add empty system suspend/resume callbacks
for the SDIO bus type.

An analogous change had been made already by commit (e841a7c mmc: sdio:
Use empty system suspend/resume callbacks at the bus level), but then it
was reverted inadvertently by commit (d8e2ac3 mmc: sdio: Fix PM_SLEEP
related build warnings) that attempted to fix build warnings introduced
by commit e841a7c.

Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-12-06 13:55:04 -05:00
..
bus.c
bus.h
core.c mmc: core: Add mmc_set_blockcount feature 2012-12-06 13:54:48 -05:00
core.h
debugfs.c mmc: core: debugfs: Add signal_voltage to ios dump 2012-12-06 13:54:36 -05:00
host.c
host.h
Kconfig
Makefile
mmc_ops.c mmc: core: Fix some driver hangs when dealing with broken devices 2012-12-06 13:54:42 -05:00
mmc_ops.h
mmc.c mmc: core: Extend sysfs to ext_csd parameters for RPMB support 2012-12-06 13:54:48 -05:00
quirks.c
sd_ops.c
sd_ops.h
sd.c
sd.h
sdio_bus.c mmc: sdio: Add empty bus-level suspend/resume callbacks 2012-12-06 13:55:04 -05:00
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c mmc: sdio: Use multiple scatter/gather list 2012-12-06 13:54:43 -05:00
sdio_irq.c
sdio_ops.c mmc: sdio: Use multiple scatter/gather list 2012-12-06 13:54:43 -05:00
sdio_ops.h
sdio.c
slot-gpio.c mmc: slot-gpio: Fix missing assignment to ctx->ro_gpio 2012-09-11 10:55:20 -04:00