summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@nxp.com>2020-02-19 16:22:43 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2020-03-24 14:35:41 +0100
commit5c11f1ffb02244e8cafd320fb130090a1d1db342 (patch)
treebf4f3c7489e2910ea4438b0d0d204da9481f4a3c /fs
parenta26a4f1baca55a05aecd8d7181802979a93e3d46 (diff)
mmc: sdhci-esdhc-imx: restore the per_clk rate in PM_RUNTIME
When pm_runtime_suspend is run, a call to SCFW power off the SS (SS is a power domain, usdhc belong to this SS power domain) in which the resource resides is made. The SCFW can power off the SS if no other resource in active in that SS. If so, all state associated with all the resources within the SS that is powered off is lost, this includes the clock rates, clock state etc. When pm_runtime_resume is called, the SS associated with that resource is powered up. But the clocks are left in the default state. This patch restore clock rate in pm_runtime_resume, make sure the clock is right rather than depending on the default state setting by SCFW. Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/1582100563-20555-5-git-send-email-haibo.chen@nxp.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions