mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 00:24:58 +08:00
e79c7159d4
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> |
||
---|---|---|
.. | ||
media-controller-intro.rst | ||
media-controller-model.rst | ||
media-controller.rst | ||
media-func-close.rst | ||
media-func-ioctl.rst | ||
media-func-open.rst | ||
media-funcs.rst | ||
media-header.rst | ||
media-ioc-device-info.rst | ||
media-ioc-enum-entities.rst | ||
media-ioc-enum-links.rst | ||
media-ioc-g-topology.rst | ||
media-ioc-request-alloc.rst | ||
media-ioc-setup-link.rst | ||
media-request-ioc-queue.rst | ||
media-request-ioc-reinit.rst | ||
media-types.rst | ||
request-api.rst | ||
request-func-close.rst | ||
request-func-ioctl.rst | ||
request-func-poll.rst |