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: I16aea5e7dafacfe6b520699af195194d5d171c7c
Signed-off-by:
Tejas Prajapati <tpraja@codeaurora.org>
Loading
Please register or sign in to comment