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

Skip to content
Commit 321d1c74 authored by Jigarkumar Zala's avatar Jigarkumar Zala Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: cpas: Avoid clk set when streamon client is zero



Currently GDSC regualtor is being turn on upon calling
caps_hw_start(), when streamon client is zero. Also, GDSC
regulator is being enable after axi_clk_set(), which is conflicting
with clk framework expectation. This change bypass set_src_clk_rate
for the very first client, as clk_rate set here will anyways be
overwritten with default value while power on. This makes sure not
to call clk_set_rate() before GDSC regulator is turn on.

Change-Id: Ibbaa600244bc1623fd7aed33537f103b786d2169
Signed-off-by: default avatarJigarkumar Zala <jzala@codeaurora.org>
parent 6a101c99
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