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

Skip to content
Commit aef2c04f authored by Shuzhen Wang's avatar Shuzhen Wang Committed by Stephen Boyd
Browse files

v4l2: Don't start read buffers when stream is off.



When polling streams, if stream is already off, we
don't re-construct the queue and start reading. Return
POLLERR instead. This eliminates the race condition
where after streamoff, application tries to pull a
frame buffer out.

Change-Id: I86e13500f20add58ee6eca8b001bf557e66fd996
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>
Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
parent 6cc2179e
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