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:Venkat Chinta <vchinta@codeaurora.org> Signed-off-by:
Pavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
Loading
Please register or sign in to comment