linux_dsm_epyc7002/drivers/media/common/videobuf2
Hans Verkuil e79c7159d4 media: media requests: return EBADR instead of EACCES
If requests are used when they shouldn't, or not used when they should,
then return EBADR (Invalid request descriptor) instead of EACCES.

The reason for this change is that EACCES has more to do with permissions
(not being the owner of the resource), but in this case the request file
descriptor is just wrong for the current mode of the device.

Update the documentation accordingly.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-25 13:26:10 -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: vb2: add requires_requests bit for stateless codecs 2019-03-25 13:24:47 -04:00
videobuf2-dma-contig.c videobuf2: replace a layering violation with dma_map_resource 2019-02-01 09:56:41 +01:00
videobuf2-dma-sg.c media: common: fix several typos 2019-03-01 09:44:48 -05:00
videobuf2-dvb.c
videobuf2-memops.c media: common: fix several typos 2019-03-01 09:44:48 -05:00
videobuf2-v4l2.c media: media requests: return EBADR instead of EACCES 2019-03-25 13:26:10 -04:00
videobuf2-vmalloc.c media: videobuf2: Return error after allocation failure 2019-03-19 14:03:55 -04:00