msm: camera: isp: skip overflow when no stream is active
This patch skips overflow recovery sequence if there are no active
streams.
The ISP Overflow recovery mechanism disables IRQs and send a message
to userspace to initiate stream restarting sequence. However if
overflow happens just after last stream is stopped, this leads to
invalid state because:
- during overflow in kernel irqs are skipped, so kernel cannot
complete stop sequence.
- during stop userspace drops overflow restart requests from
kernel. So restart will not take place and kernel won't
leave overflow state.
Actually the restarting of streams is not needed, if we have none.
Change-Id: Ie8e70f6994820b44546e24456668d52819b0ce37
Signed-off-by:
Petar Sivenov <psiven@codeaurora.org>
Loading
Please register or sign in to comment