linux/drivers/mmc
Daniel Drake 0dcaa2499b sdhci-pxav3: Fix runtime PM initialization
Commit bb691ae464 breaks boot on OLPC
XO-4, it hangs somewhere inside sdhci_add_host.

When pm_runtime_set_autosuspend_delay() was being called, the device's
usage counter was 0, causing the PM layer to runtime-suspend the
device.  We then went on to call sdhci_add_host() on a suspended
device, which hung.

Fix this by making the driver consistent with the omap_hsmmc driver,
both in terms of runtime PM initialization and error handling. Now
the device is not runtime-suspended until we exit the probe routine.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2013-06-27 12:39:23 -04:00
..
card mmc: core: Handle card shutdown from mmc_bus 2013-06-27 12:39:18 -04:00
core mmc: core: Add DT-bindings for MMC_CAP2_FULL_PWR_CYCLE 2013-06-27 12:39:22 -04:00
host sdhci-pxav3: Fix runtime PM initialization 2013-06-27 12:39:23 -04:00
Kconfig
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00