Skip to content

media: v4l2-mem2mem: fix poll() bug

Alexandre Courbot linux-media lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 9 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: v4l2-mem2mem: always consider OUTPUT queue during polldrivers/media/v4l2-core/v4l2-mem2mem.c+2 -41 reply
2/2media: v4l2-mem2mem: simplify poll logicdrivers/media/v4l2-core/v4l2-mem2mem.c+5 -211 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchEzequiel Garcia
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] media: v4l2-mem2mem: fix poll() bug

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