Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4c3449bb authored by Ram Prakash Gupta's avatar Ram Prakash Gupta
Browse files

mmc: core: Fix clk scaling when card max freq below 50MHz



When card max supported clk frequency is less than 50MHz,
driver registers scale up frequency as 0 and scale down
frequency as max card supported clk frequency. So read/write
during high load performace is dropping.

Ideally in this scenario, clk scaling could be disabled by
skipping registration with devfreq, but userspace might see
scaling supported for some card and its not supported for another
which might create confusion. Hence keeping low and high, clk
scaling frequency as same, and scaling would be skipped when
devfreq attempts to scale the clk.

Change-Id: I25977bdff4275c4ebec7309952029f43e0d2455f
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent 5de2f678
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment