]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: qcom: msm8916: Fix bimc gpu clock ops
authorGeorgi Djakov <georgi.djakov@linaro.org>
Fri, 18 Aug 2017 14:22:50 +0000 (17:22 +0300)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 23 Aug 2017 22:55:46 +0000 (15:55 -0700)
commitde2245540ed84c56ba3d71d1ce8e14fdaf332720
tree36970eecdeafdee22fb8a7e2e22fc2a27ea56171
parent7cc566a821a0e0999209a256b80375d08db2840c
clk: qcom: msm8916: Fix bimc gpu clock ops

The clock bimc_gpu_clk_src is incorrectly set to use the shared rcg2
ops, which are for RCGs with child branches controlled by different
CPUs.

The result of the incorrect ops is that the GPU's PM runtime may leave
this clock set at a very low rate. Fix this issue by using the correct
rcg2 ops.

Fixes: a2e8272f3f89 ("clk: qcom: Add MSM8916 gpu clocks")
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/gcc-msm8916.c