]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mmc: sdhci-msm: Use OPP API to set clk/perf state
authorRajendra Nayak <rnayak@codeaurora.org>
Fri, 17 Apr 2020 14:04:31 +0000 (19:34 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:21:00 +0000 (11:21 +0200)
commit0472f8d3c054a0ff58122fc9d2dbf84f197a284f
tree7cf0f020a6a6b5dc669b45a3a0adfc2a720e84a7
parenta389087ee9f195fcf2f31cd771e9ec5f02c16650
mmc: sdhci-msm: Use OPP API to set clk/perf state

On some qualcomm SoCs we need to vote on a performance state of a power
domain depending on the clock rates. Hence move to using OPP api to set
the clock rate and performance state specified in the OPP table.
On platforms without an OPP table, dev_pm_opp_set_rate() is eqvivalent to
clk_set_rate()

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Link: https://lore.kernel.org/r/1587132279-27659-10-git-send-email-rnayak@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c