Ricardo Ribalda
b93876845c
[media] media: vb2: Fix regression on poll() for RW mode
...
When using a device is read/write mode, vb2 does not handle properly the
first select/poll operation.
The reason for this, is that when this code has been refactored, some of
the operations have changed their order, and now fileio emulator is not
started.
The reintroduced check to the core is enabled by a quirk flag, that
avoids this check by other subsystems like DVB.
Fixes: 49d8ab9fea ("media] media: videobuf2: Separate vb2_poll()")
Reported-by: Dimitrios Katsaros <patcherwork@gmail.com>
Cc: Junghak Sung <jh1009.sung@samsung.com>
Cc: <stable@vger.kernel.org> # for v4.5 and up
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-04-25 10:21:23 -03:00
..
blackfin
davinci
[media] media: videobuf2: Restructure vb2_buffer
2015-10-01 09:04:43 -03:00
drv-intf
[media] media, sound: tea575x: constify snd_tea575x_ops structures
2015-12-03 11:26:45 -02:00
i2c
[media] tvp5150: move input definition header to dt-bindings
2016-02-11 11:10:59 -02:00
i2c-addr.h
lirc.h
[media] bz#75751: Move internal header file lirc.h to uapi/
2015-11-17 06:47:43 -02:00
lirc_dev.h
[media] lirc_dev.h: Make checkpatch happy
2015-10-05 13:50:42 -03:00
media-device.h
[media] media: Always keep a graph walk large enough around
2016-03-03 12:17:28 -03:00
media-devnode.h
[media] media-devnode.h: document the remaining struct/functions
2016-01-11 12:19:13 -02:00
media-entity.h
[media] media-entity: include linux/bug.h for WARN_ON
2016-03-03 09:54:36 -03:00
rc-core.h
[media] rc-core: allow calling rc_open with device not initialized
2016-03-03 06:16:14 -03:00
rc-map.h
[media] media: rc: improve RC_BIT_ constant definition
2015-11-19 11:39:58 -02:00
soc_camera.h
[media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2
2015-10-01 08:48:18 -03:00
tuner-types.h
[media] DocBook: add documentation for tuner-types.h
2015-10-05 11:37:15 -03:00
tuner.h
[media] v4l2-mc.h: move tuner PAD definitions to this new header
2016-02-01 07:19:44 -02:00
tveeprom.h
[media] DocBook: Document tveeprom.h
2015-10-05 13:49:02 -03:00
v4l2-async.h
[media] Docbook: Fix comments at v4l2-async.h
2015-08-22 05:17:27 -03:00
v4l2-clk.h
[media] v4l2-clk: add new definition: V4L2_CLK_NAME_SIZE
2015-11-17 15:19:11 -02:00
v4l2-common.h
v4l2-ctrls.h
[media] v4l2-ctrls: remove unclaimed v4l2_ctrl_add_ctrl() interface
2016-02-10 09:34:00 -02:00
v4l2-dev.h
[media] media: v4l-core add enable/disable source common interfaces
2016-02-27 08:33:29 -03:00
v4l2-device.h
v4l2-dv-timings.h
[media] v4l2-dv-timings: add new arg to v4l2_match_dv_timings
2015-12-03 11:26:14 -02:00
v4l2-event.h
[media] v4l2-event.h: fix comments and add to DocBook
2015-08-22 09:05:52 -03:00
v4l2-fh.h
v4l2-flash-led-class.h
[media] Docbook: fix comments at v4l2-flash-led-class.h
2015-08-22 05:28:44 -03:00
v4l2-image-sizes.h
v4l2-ioctl.h
[media] v4l2: add support for SDR transmitter
2015-10-20 15:40:50 -02:00
v4l2-mc.h
[media] v4l2-mc.h: fix yet more compiler errors
2016-03-04 07:56:43 -03:00
v4l2-mediabus.h
[media] v4l2-mediabus: Add to DocBook
2015-08-22 09:05:55 -03:00
v4l2-mem2mem.h
[media] media: videobuf2: Restructure vb2_buffer
2015-10-01 09:04:43 -03:00
v4l2-of.h
v4l2-subdev.h
[media] v4l2-subdev: add registered_async subdev core operation
2016-02-10 09:37:13 -02:00
videobuf-core.h
videobuf-dma-contig.h
videobuf-dma-sg.h
videobuf-dvb.h
videobuf-vmalloc.h
videobuf2-core.h
[media] media: vb2: Fix regression on poll() for RW mode
2016-04-25 10:21:23 -03:00
videobuf2-dma-contig.h
ARM: 8508/2: videobuf2-dc: Let drivers specify DMA attrs
2016-02-11 15:33:38 +00:00
videobuf2-dma-sg.h
[media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2
2015-10-01 08:48:18 -03:00
videobuf2-dvb.h
[media] add media controller support to videobuf2-dvb
2016-02-10 07:23:41 -02:00
videobuf2-memops.h
[media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2
2015-10-01 08:48:18 -03:00
videobuf2-v4l2.h
[media] media: videobuf2: Move vb2_fileio_data and vb2_thread to core part
2015-12-18 13:58:09 -02:00
videobuf2-vmalloc.h
[media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2
2015-10-01 08:48:18 -03:00
vsp1.h
[media] v4l: vsp1: Implement atomic update for the DRM driver
2016-02-19 09:31:19 -02:00