linux/Documentation/media/uapi/mediactl
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
..
media-controller-intro.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-controller-model.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-controller.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-func-close.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-func-ioctl.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-func-open.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-funcs.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-header.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-ioc-device-info.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-ioc-enum-entities.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-ioc-enum-links.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-ioc-g-topology.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-ioc-request-alloc.rst media: docs: fix some GPL licensing ambiguity at the text 2018-12-17 10:57:20 -05:00
media-ioc-setup-link.rst media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
media-request-ioc-queue.rst media: docs: fix some GPL licensing ambiguity at the text 2018-12-17 10:57:20 -05:00
media-request-ioc-reinit.rst media: docs: fix some GPL licensing ambiguity at the text 2018-12-17 10:57:20 -05:00
media-types.rst media: Documentation: fix several typos 2019-03-01 09:54:06 -05:00
request-api.rst media: media requests: return EBADR instead of EACCES 2019-03-25 13:26:10 -04:00
request-func-close.rst media: docs: fix some GPL licensing ambiguity at the text 2018-12-17 10:57:20 -05:00
request-func-ioctl.rst media: docs: fix some GPL licensing ambiguity at the text 2018-12-17 10:57:20 -05:00
request-func-poll.rst media: docs: fix some GPL licensing ambiguity at the text 2018-12-17 10:57:20 -05:00