msm: camera: icp: cap clock rate to turbo

In case the incoming clock rate is greater then
turbo clock rate, set the clock rate to turbo. While
snapshot use cases icp driver calculates required
clock rate which can be greater than max clock freq
supported. In such cases, cap the clk frequency to
turbo while setting to clock driver.

Change-Id: Idf349e12477a6206cd332a0c26ad156df9784364
Signed-off-by: vhajeri <vhajeri@codeaurora.org>
Signed-off-by: Pavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
2 files changed