Daniel Drake 0dcaa2499b sdhci-pxav3: Fix runtime PM initialization
Commit bb691ae464b77d30e74c66480e98d74e88d6b194 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
..
2013-04-26 22:30:25 +02:00
2013-05-09 10:11:08 -07:00
2013-05-09 09:59:16 -07:00
2013-05-06 13:07:33 +02:00
2013-05-09 09:59:16 -07:00
2013-05-06 14:59:13 -07:00
2013-05-09 09:59:16 -07:00
2013-05-15 10:58:22 -07:00
2013-05-09 10:21:44 -07:00
2013-05-07 14:04:56 -07:00
2013-05-07 14:02:00 -07:00
2013-05-02 14:02:32 -07:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00