Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e6119d50 authored by Petar Sivenov's avatar Petar Sivenov
Browse files

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: default avatarPetar Sivenov <psiven@codeaurora.org>
parent ccc80175
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment