[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200827124946.328700-1-gnurou@gmail.com>
Date: Thu, 27 Aug 2020 21:49:44 +0900
From: Alexandre Courbot <gnurou@...il.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Nicolas Dufresne <nicolas.dufresne@...labora.com>,
Ezequiel Garcia <ezequiel@...guardiasur.com.ar>
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Alexandre Courbot <gnurou@...il.com>
Subject: [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
Powered by blists - more mailing lists