msm: camera: Handle CCI timeout

If CCI queue timeout happens, the queue is left unflushed. Hence
subsequent CCI commands fail since old commands stay at the head
of the queue. If timeout happens, flush out existing commands by
calling HALT command on the respective CCI master.

Change-Id: I38ddf1029de9eb5efa63552845c4863c3ee99e42
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
2 files changed