mmc: sdhci-esdhc-imx: add pm_qos to interact with cpuidle
authorBOUGH CHEN <haibo.chen@nxp.com>
Mon, 29 Apr 2019 08:55:37 +0000 (08:55 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 6 May 2019 09:55:39 +0000 (11:55 +0200)
commit1c4989b000aeacd3365aa49028612e043b15a506
treeefe388a2b578568e5790823d81ff304c62dbfe92
parentd3db80ca5744b5635554dd6171ecb8f3c3a5fd71
mmc: sdhci-esdhc-imx: add pm_qos to interact with cpuidle

On some SoCs such as i.MX7ULP, there is no busfreq
driver, but cpuidle has some levels which may disable
system/bus clocks, so need to add pm_qos to prevent
cpuidle from entering low level idles and make sure
system/bus clocks are enabled when usdhc is active.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c