[PATCH v2 0/2] media: v4l2-mem2mem: fix poll() bug
From: Alexandre Courbot
Date: Thu Aug 27 2020 - 08:51:09 EST
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