aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2022-04-01 10:14:24 +0300
committerViresh Kumar <[email protected]>2022-04-04 12:01:29 +0530
commitf84ccad5f5660f86a642a3d7e2bfdc4e7a8a2d49 (patch)
tree85aa9d3792815b2a2dcf9700da8c4a95ef0ecb30 /lib/mpi/mpi-sub-ui.c
parenta1eb080a04477a55c66d70fb3401b059d6dcc3a9 (diff)
cpufreq: qcom-cpufreq-hw: Fix throttle frequency value on EPSS platforms
On QCOM platforms with EPSS flavour of cpufreq IP a throttled frequency is obtained from another register REG_DOMAIN_STATE, thus the helper function qcom_lmh_get_throttle_freq() should be modified accordingly, as for now it returns gibberish since .reg_current_vote is unset for EPSS hardware. To exclude a hardcoded magic number 19200 it is replaced by "xo" clock rate in KHz. Fixes: 275157b367f4 ("cpufreq: qcom-cpufreq-hw: Add dcvs interrupt support") Reviewed-by: Bjorn Andersson <[email protected]> Signed-off-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions