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

Skip to content
Commit d6de8c8e authored by Venkat Chinta's avatar Venkat Chinta Committed by Pavan Kumar Chilamkurthi
Browse files

msm: camera: icp: Return CAM_MAX_VOTE if matching index not found



If no matching index found in the clk info clk rate table
for the input base_clk rate, i.e if base_clk rate value
is greater than the max value in the clk info table,
return CAM_MAX_VOTE so that caller knows the passed base clk
value is higher than max value in the clk table. This helps
in determining whether the clk is overclocked and thus
reducing as required.

Change-Id: I852ac506aaa6067bbd053fe36bb235d26913819e
Signed-off-by: default avatarVenkat Chinta <vchinta@codeaurora.org>
Signed-off-by: default avatarPavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
parent c092e59f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment