commit | 865f082519d0c107280b5698c5015102c3987307 | [log] [tgz] |
---|---|---|
author | Mohit Setia <msetia@codeaurora.org> | Fri Mar 07 01:14:30 2014 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Mar 24 23:03:29 2014 -0700 |
tree | 00b456d37001090fb487a6a7c264da440dbc4d75 | |
parent | 00a3a3ff645dc3afb799374501965d7eddbce395 [diff] |
msm: camera: exit camera incase axi gets timeout AXI hits timeout while stopping due to sensor not streaming. Simply returning error from here puts AXI and camif in still running state whereas userspace proceeds with releasing the buffers. This fix ensures we halt AXi and stop camif in sensor not streaming case. Thus avoid page faults and a delay in stopping camera. Change-Id: I4159ac7b21d2a22a5684d7b4a614b0dfd8f06e46 Signed-off-by: Mohit Setia <msetia@codeaurora.org>