]> asedeno.scripts.mit.edu Git - linux.git/commit
media: v4l2-mem2mem: add q->error check to v4l2_m2m_poll()
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 7 Feb 2019 11:49:46 +0000 (06:49 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 19:47:55 +0000 (14:47 -0500)
commit96ebc0ca6f6d0978b1a016e6daa29817a812ce55
tree38a4805ae58411537fb4beac6ea07fd0744855c2
parentdd8695e4e1e39136968339ceed5680327c174a31
media: v4l2-mem2mem: add q->error check to v4l2_m2m_poll()

The v4l2_m2m_poll function didn't check whether q->error
was set for either of the two queues. Add support for this.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-mem2mem.c