lkml.org 
[lkml]   [2020]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] media: v4l2-mem2mem: fix poll() bug
Date
Thanks to the feedback on the first version, this one removes even more code.

I have simplified patch 1/1 to just address the issue without moving code,
since this is easier to understand and needs to be done for 2/2 anyway. As a
consequence the code has changed a bit and I did not carry the Reviewed-by tags.

Changes from v1:

* Simplify patch 1/1,
* Remove unneeded checks for DONE or ERROR status,
* Rephrased comment about exiting early.

Alexandre Courbot (2):
media: v4l2-mem2mem: always consider OUTPUT queue during poll
media: v4l2-mem2mem: simplify poll logic

drivers/media/v4l2-core/v4l2-mem2mem.c | 28 +++++---------------------
1 file changed, 5 insertions(+), 23 deletions(-)

--
2.28.0

\
 
 \ /
  Last update: 2020-08-27 14:51    [W:0.620 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site