linux/drivers/media
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
..
cec - New Drivers 2018-08-20 15:38:44 -07:00
common media: media-request: EPERM -> EACCES/EBUSY 2018-09-11 09:57:29 -04:00
dvb-core media: videobuf2-core: integrate with media requests 2018-08-31 11:18:35 -04:00
dvb-frontends media: v4l2-ctrls: v4l2_ctrl_add_handler: add from_other_dev 2018-08-31 11:09:34 -04:00
firewire media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
i2c media: adv7842: enable reduced fps detection 2018-08-31 10:03:51 -04:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: v4l2-ctrls: v4l2_ctrl_add_handler: add from_other_dev 2018-08-31 11:09:34 -04:00
platform media: vb2: set reqbufs/create_bufs capabilities 2018-09-11 09:51:28 -04:00
radio media: radio-wl1273: fix return code for the polling routine 2018-08-08 10:57:14 -04:00
rc Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2018-08-07 11:02:05 -07:00
spi media: cxd2880-spi: Modified how to declare structure 2018-05-05 10:37:12 -04:00
tuners Merge branch 'i2c/for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2018-08-21 17:40:46 -07:00
usb media: videobuf2-v4l2: integrate with media requests 2018-08-31 11:19:30 -04:00
v4l2-core media: v4l2-ctrls: improve media_request_(un)lock_for_update 2018-09-11 09:55:39 -04:00
Kconfig media: cec: Kconfig coding style issue 2018-05-09 16:26:50 -04:00
Makefile media: media-request: implement media requests 2018-08-31 11:04:51 -04:00
media-device.c media: media-request: implement media requests 2018-08-31 11:04:51 -04:00
media-devnode.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00
media-request.c media: media-request: EPERM -> EACCES/EBUSY 2018-09-11 09:57:29 -04:00