summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/dw_mmc.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2019-07-15 13:00:14 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2019-07-22 15:22:44 +0300
commitfc62113b32c95906b3ea8ba42e91014c7d0c6fa6 (patch)
tree8b7755819c403b676d9bc55975333e2a40ec4bd2 /drivers/mmc/host/dw_mmc.c
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
downloadlinux-fc62113b32c95906b3ea8ba42e91014c7d0c6fa6.tar.xz
mmc: host: sdhci-sprd: Fix the missing pm_runtime_put_noidle()
When the SD host controller tries to probe again due to the derferred probe mechanism, it will always keep the SD host device as runtime resume state due to missing the runtime put operation in error path last time. Thus add the pm_runtime_put_noidle() in error path to make the PM runtime counter balance, which can make the SD host device's PM runtime work well. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Fixes: fb8bd90f83c4 ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller") Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.c')
0 files changed, 0 insertions, 0 deletions