linux_dsm_epyc7002/drivers/media/common/videobuf2
Hans Verkuil b509d733d3 media: videobuf2-core: check for q->error in vb2_core_qbuf()
The vb2_core_qbuf() function didn't check if q->error was set. It is
checked in __buf_prepare(), but that function isn't called if the buffer
was already prepared before with VIDIOC_PREPARE_BUF.

So check it at the start of vb2_core_qbuf() as well.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-24 17:51:39 -04:00
..
Kconfig media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
Makefile media: vb2: Makefile: place vb2-trace together with vb2-core 2018-02-26 11:39:04 -05:00
vb2-trace.c media: videobuf2: fix build issues with vb2-trace 2018-02-23 05:13:53 -05:00
videobuf2-core.c media: videobuf2-core: check for q->error in vb2_core_qbuf() 2018-07-24 17:51:39 -04:00
videobuf2-dma-contig.c
videobuf2-dma-sg.c
videobuf2-dvb.c
videobuf2-memops.c
videobuf2-v4l2.c
videobuf2-vmalloc.c media: vb2: Fix videobuf2 to map correct area 2018-02-26 08:06:31 -05:00