linux/include/media
Hans Verkuil 58d75f4b1c [media] vb2: fix VBI/poll regression
The recent conversion of saa7134 to vb2 unconvered a poll() bug that
broke the teletext applications alevt and mtt. These applications
expect that calling poll() without having called VIDIOC_STREAMON will
cause poll() to return POLLERR. That did not happen in vb2.

This patch fixes that behavior. It also fixes what should happen when
poll() is called when STREAMON is called but no buffers have been
queued. In that case poll() will also return POLLERR, but only for
capture queues since output queues will always return POLLOUT
anyway in that situation.

This brings the vb2 behavior in line with the old videobuf behavior.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-09-21 20:57:30 -03:00
..
blackfin [media] v4l2: blackfin: select proper pinctrl state in ppi_set_params if CONFIG_PINCTRL is enabled 2014-07-26 17:15:16 -03:00
davinci [media] media: davinci: vpfe: use v4l2_fh for priority handling 2014-04-16 18:24:15 -03:00
ad9389b.h
adp1653.h
adv7183.h
adv7343.h [media] media: i2c: adv7343: make the platform data members as array 2013-07-26 13:20:36 -03:00
adv7393.h
adv7511.h [media] adv7511: add new video encoder 2013-08-26 07:53:43 -03:00
adv7604.h [media] adv7604: Add LLC polarity configuration 2014-05-25 13:10:16 -03:00
adv7842.h [media] adv7842: platform-data for Hotplug Active (HPA) manual/auto 2014-02-04 09:57:36 -02:00
ak881x.h
as3645a.h
atmel-isi.h [media] media: atmel-isi: add v4l2 async probe support 2014-07-30 19:35:06 -03:00
bt819.h
cs53l32a.h
cs5345.h
cx2341x.h
cx25840.h
exynos-fimc.h [media] exynos4-is: Remove support for non-dt platforms 2014-05-23 18:52:54 -03:00
gpio-ir-recv.h
i2c-addr.h
ir-kbd-i2c.h [media] rc-core: improve ir-kbd-i2c get_key functions 2014-07-23 20:05:56 -03:00
ir-rx51.h
lirc_dev.h [media] media: lirc: Allow lirc dev to talk to rc device 2013-07-31 16:30:27 -03:00
lirc.h
lm3560.h [media] media: i2c: add driver for dual LED Flash, lm3560 2013-10-31 06:36:39 -02:00
lm3646.h [media] lm3646: add new dual LED Flash driver 2014-03-11 10:00:26 -03:00
m5mols.h
m52790.h
media-device.h [media] media: Use a better owner for the media device 2014-05-13 13:39:00 -03:00
media-devnode.h [media] media: Use a better owner for the media device 2014-05-13 13:39:00 -03:00
media-entity.h [media] media: Include linux/kernel.h for DIV_ROUND_UP() 2013-12-18 10:36:02 -02:00
mmp-camera.h
msp3400.h
mt9m032.h
mt9p031.h
mt9t001.h
mt9t112.h
mt9v011.h
mt9v022.h
mt9v032.h [media] mt9v032: Use the common clock framework 2013-08-22 11:37:46 -03:00
noon010pc30.h
omap1_camera.h
omap3isp.h
omap4iss.h [media] v4l: omap4iss: Add support for OMAP4 camera interface - Core 2013-12-03 17:21:04 -02:00
ov772x.h
ov7670.h
ov9650.h
radio-si4713.h
rc-core.h [media] rc-core: don't use dynamic_pr_debug for IR_dprintk() 2014-07-25 23:40:06 -03:00
rc-map.h [media] rc: Add support for decoding XMP protocol 2014-07-26 19:38:04 -03:00
rj54n1cb0c.h
s3c_camif.h
s5c73m3.h
s5k4ecgx.h
s5k6aa.h
s5p_hdmi.h
saa6588.h [media] saa6588: add support for non-blocking mode 2014-01-07 07:42:19 -02:00
saa7115.h [media] saa7115: make multi-line comments compliant with CodingStyle 2013-08-18 08:39:24 -03:00
saa7127.h
saa7146_vv.h
saa7146.h
sh_mobile_ceu.h [media] V4L2: soc-camera: fix uninitialised use compiler warning 2013-06-28 14:57:18 -03:00
sh_mobile_csi2.h [media] sh_mobile_ceu_camera: add asynchronous subdevice probing support 2013-06-21 16:35:53 -03:00
sh_vou.h
si476x.h
si4713.h [media] si4713: move supply list to si4713_platform_data 2013-12-18 06:40:07 -02:00
sii9234.h
smiapp.h [media] smiapp: Call the clock "ext_clk" 2013-08-22 11:39:12 -03:00
soc_camera_platform.h
soc_camera.h [media] V4L2: soc-camera: work around unbalanced calls to .s_power() 2013-10-31 04:38:40 -02:00
soc_mediabus.h
sr030pc30.h
tea575x.h [media] tea575x: Move header from sound to media 2013-08-18 08:08:05 -03:00
ths7303.h
timb_radio.h
timb_video.h
tuner-types.h
tuner.h
tvaudio.h
tveeprom.h include: Convert ethernet mac address declarations to use ETH_ALEN 2013-08-02 12:33:54 -07:00
tvp514x.h
tvp5150.h
tvp7002.h
tw9910.h
uda1342.h
upd64031a.h
upd64083.h
v4l2-async.h [media] V4L: Merge struct v4l2_async_subdev_list with struct v4l2_subdev 2013-07-30 15:54:56 -03:00
v4l2-clk.h [media] V4L2: add a v4l2-clk helper macro to produce an I2C device ID 2013-10-31 04:33:02 -02:00
v4l2-common.h Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-11-18 15:50:07 -08:00
v4l2-ctrls.h [media] v4l2-ctrls: add new RDS TX controls 2014-07-25 19:26:14 -03:00
v4l2-dev.h [media] media: v4l2-dev.h: remove V4L2_FL_USE_FH_PRIO flag 2014-07-04 16:15:16 -03:00
v4l2-device.h [media] v4l2-subdev.h: fix sparse error with v4l2_subdev_notify 2014-04-16 18:13:56 -03:00
v4l2-dv-timings.h [media] v4l2-dv-timings: add callback to handle exceptions 2013-08-24 04:30:01 -03:00
v4l2-event.h [media] v4l: Add source change event 2014-05-23 19:50:40 -03:00
v4l2-fh.h [media] V4L: Add mem2mem ioctl and file operation helpers 2013-12-04 15:34:24 -02:00
v4l2-image-sizes.h
v4l2-ioctl.h [media] v4l2: integrate support for VIDIOC_QUERY_EXT_CTRL 2014-07-17 10:38:44 -03:00
v4l2-mediabus.h [media] media: OF: add "sync-on-green-active" property 2013-08-24 04:15:05 -03:00
v4l2-mem2mem.h [media] v4l2-mem2mem: export v4l2_m2m_try_schedule 2014-07-22 12:06:50 -03:00
v4l2-of.h [media] of: move common endpoint parsing to drivers/of 2014-03-06 17:41:48 +01:00
v4l2-subdev.h [media] v4l: subdev: Remove deprecated video-level DV timings operations 2014-05-25 12:59:08 -03:00
videobuf2-core.h [media] vb2: fix VBI/poll regression 2014-09-21 20:57:30 -03:00
videobuf2-dma-contig.h
videobuf2-dma-sg.h [media] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table 2013-09-26 07:33:59 -03:00
videobuf2-dvb.h [media] vb2: Add videobuf2-dvb support 2014-04-16 18:59:29 -03:00
videobuf2-memops.h
videobuf2-vmalloc.h
videobuf-core.h
videobuf-dma-contig.h
videobuf-dma-sg.h [media] vmalloc_sg: make sure all pages in vmalloc area are really DMA-ready 2014-07-26 11:33:15 -03:00
videobuf-dvb.h
videobuf-vmalloc.h
wm8775.h