mmc: sdhci-msm: Add pm_runtime and system PM support
authorPramod Gurav <pramod.gurav@linaro.org>
Fri, 21 Oct 2016 06:42:04 +0000 (12:12 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:32 +0000 (09:00 +0100)
commit67e6db113c903f2b8af924400b7b43ade4b9ac5c
tree43c782123820233c0606ff4a9f55a9363c1ee419
parent424feb59d87828a7569174becc17f9b0905a304f
mmc: sdhci-msm: Add pm_runtime and system PM support

Provides runtime PM callbacks to enable and disable clock resources
when idle. Also support system PM callbacks to be called during system
suspend and resume.

Reviewed-by: Ritesh Harjani <riteshh@codeaurora.org>
Reviewed-by: Georgi Djakov <georgi.djakov@linaro.org>
Tested-by: Ritesh Harjani <riteshh@codeaurora.org>
Signed-off-by: Pramod Gurav <pramod.gurav@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c