linux/drivers/media
Hans Verkuil 0cd25448a1 media: cobalt: replace VB2_BUF_STATE_REQUEUEING by _ERROR
The cobalt driver is the only driver that uses VB2_BUF_STATE_REQUEUEING.
Replace it by VB2_BUF_STATE_ERROR so we can drop support for the
REQUEUEING state.

The requeueing state was used in the cobalt driver to optimize
buffer handling while waiting for a valid signal: by requeueing
buffers internally there was no need for userspace to handle and
requeue buffers with the ERROR flag set.

However, requeueing also makes the buffer handling unordered, which
is generally a bad idea. Requeueing also does not work with requests
and any future fence support.

Since it is really a minor optimization in the cobalt driver it is
best to just return the buffer in an ERROR state. With this change
support for requeueing can now be removed in vb2.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-19 13:50:38 -04:00
..
cec media: cec: fill in cec chardev kobject to ease debugging 2019-03-19 13:19:49 -04:00
common DMA mapping updates for 5.1 2019-03-10 11:54:48 -07:00
dvb-core media: dvb-core: fix several typos 2019-03-01 09:28:08 -05:00
dvb-frontends media: dvb-frontends: fix several typos 2019-03-01 09:26:20 -05:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2018-12-05 05:34:33 -05:00
i2c media: i2c: fix several typos 2019-03-01 09:29:58 -05:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: cobalt: replace VB2_BUF_STATE_REQUEUEING by _ERROR 2019-03-19 13:50:38 -04:00
platform media: stm32-dcmi: fix DMA corruption when stopping streaming 2019-03-19 13:50:08 -04:00
radio media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
rc media: rc: fix several typos 2019-03-01 09:39:39 -05:00
spi media: cxd2880-spi: fix two memory leaks of dvb_spi 2019-01-16 11:44:29 -05:00
tuners media: tuners: fix several typos 2019-03-01 09:40:29 -05:00
usb media: cpia2: Fix use-after-free in cpia2_exit 2019-03-19 13:48:50 -04:00
v4l2-core media: v4l2-subdev: handle module refcounting here 2019-03-19 13:29:37 -04:00
Kconfig media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
Makefile media: media-request: implement media requests 2018-08-31 11:04:51 -04:00
media-device.c media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
media-devnode.c media: media-devnode: fill in media chardev kobject to ease debugging 2019-03-19 13:21:16 -04:00
media-entity.c media: v4l2-subdev: handle module refcounting here 2019-03-19 13:29:37 -04:00
media-request.c media: media-request: fix epoll() by calling poll_wait first 2019-02-18 14:45:33 -05:00