public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: v4l2-mem2mem: fix poll() bug
@ 2020-08-27 12:49 Alexandre Courbot
  2020-08-27 12:49 ` [PATCH v2 1/2] media: v4l2-mem2mem: always consider OUTPUT queue during poll Alexandre Courbot
  2020-08-27 12:49 ` [PATCH v2 2/2] media: v4l2-mem2mem: simplify poll logic Alexandre Courbot
  0 siblings, 2 replies; 5+ messages in thread
From: Alexandre Courbot @ 2020-08-27 12:49 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Hans Verkuil, Nicolas Dufresne,
	Ezequiel Garcia
  Cc: linux-media, linux-kernel, Alexandre Courbot

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-28 15:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-27 12:49 [PATCH v2 0/2] media: v4l2-mem2mem: fix poll() bug Alexandre Courbot
2020-08-27 12:49 ` [PATCH v2 1/2] media: v4l2-mem2mem: always consider OUTPUT queue during poll Alexandre Courbot
2020-08-28 15:17   ` Ezequiel Garcia
2020-08-27 12:49 ` [PATCH v2 2/2] media: v4l2-mem2mem: simplify poll logic Alexandre Courbot
2020-08-28 15:18   ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox