mmc: core: Fix issue of no clk scaling upon previous scaling failure
If the current partition type is RPMB, clock switching may not
work properly. In this case, clk scaling up would be skipped but
clk_scaling->target_freq has been changed and then discard sub-
sequent clk scaling up requests till meet scaling down. Changing
judgement condition clk_scaling->target_freq == *freq to clk_scaling
->curr_freq == *freq in mmc_devfreq_set_target to avoid this issue.
Change-Id: Id0636e7c792c63156597d5db4e9087bd5fdc2621
Signed-off-by:
Ziqi Chen <ziqichen@codeaurora.org>
Loading
Please register or sign in to comment