msm: camera: icp: lock before updating clock status
Clock status can be updated in two ways, either through
timer or through the recovery. In case the clock is not
available during the recovery then it would try to access
registers which are unclocked. To prevent this before
updating the clock status spinlock should be acquired.
Change-Id: I3fb5c8da446013ce183d421af78c5afe67aafbf5
Signed-off-by:
Tejas Prajapati <tpraja@codeaurora.org>
Loading
Please register or sign in to comment