]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci-esdhc-imx: Fixup runtime PM conditions during ->probe()
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 11 Dec 2014 14:12:25 +0000 (15:12 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:22 +0000 (09:56 +0100)
commit77903c01d8c6c5d2544085ba074aceadc1191d21
tree1659d05e553f4eab5cd395870f7d3ecbea04edb0
parent0b41436840730004b1e7aec002b08ba1b56309f9
mmc: sdhci-esdhc-imx: Fixup runtime PM conditions during ->probe()

By configure runtime PM prior we enable the use of it, we close the gap
for strange and unhandled conditions. Moreover it makes us rely on the
driver core, after finalized ->probe(), to request an inactive device
to become runtime PM idle/suspended, which earlier potentially could
happen already at pm_runtime_set_autosuspend_delay().

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c