diff options
author | Kamal Dasu <kdasu.kdev@gmail.com> | 2022-07-14 13:41:32 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-07-18 13:32:47 +0200 |
commit | 886201c70a1cab34ef96f867c2b2dd6379ffa7b9 (patch) | |
tree | 0781f9cc17efa1e62386afb9fa948bf1a6d84f14 /drivers/mmc/core/quirks.h | |
parent | 99ce0f754c39b0a9ef60879f1bebf725c26e0a9f (diff) |
mmc: sdhci-brcmstb: use clk_get_rate(base_clk) in PM resume
Use clk_get_rate for base_clk on resume before setting new rate.
This change ensures that the clock api returns current rate
and sets the clock to the desired rate and honors CLK_GET_NO_CACHE
attribute used by clock api.
Fixes: 97904a59855c (mmc: sdhci-brcmstb: Add ability to increase max clock rate for 72116b0)
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220714174132.18541-1-kdasu.kdev@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/quirks.h')
0 files changed, 0 insertions, 0 deletions