linux/drivers/media/common/videobuf2
Hans Verkuil 15cd442e79 media: media-request: EPERM -> EACCES/EBUSY
If requests are not supported by the driver, then return EACCES, not
EPERM.

If you attempt to mix queueing buffers directly and using requests,
then EBUSY is returned instead of EPERM: once a specific queueing mode
has been chosen the queue is 'busy' if you attempt the other mode
(i.e. direct queueing vs via a request).

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-11 09:57:29 -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: media-request: EPERM -> EACCES/EBUSY 2018-09-11 09:57:29 -04:00
videobuf2-dma-contig.c dma-buf: remove kmap_atomic interface 2018-06-20 15:59:34 +02:00
videobuf2-dma-sg.c dma-buf: remove kmap_atomic interface 2018-06-20 15:59:34 +02:00
videobuf2-dvb.c
videobuf2-memops.c
videobuf2-v4l2.c media: media-request: EPERM -> EACCES/EBUSY 2018-09-11 09:57:29 -04:00
videobuf2-vmalloc.c dma-buf: remove kmap_atomic interface 2018-06-20 15:59:34 +02:00