linux/drivers/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
..
common [media] cx2341x: fix kernel oops 2014-09-21 20:56:11 -03:00
dvb-core [media] af9035: new IDs: add support for PCTV 78e and PCTV 79e 2014-09-04 12:24:19 -03:00
dvb-frontends [media] cx24123: fix kernel oops due to missing parent pointer 2014-09-21 20:55:37 -03:00
firewire firewire: introduce fw_driver.probe and .remove methods 2013-06-09 18:15:00 +02:00
i2c [media] adv7604: fix inverted condition 2014-09-21 20:54:43 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
pci [media] cx18: fix kernel oops with tda8290 tuner 2014-09-03 08:53:02 -03:00
platform [media] coda: fix build error by making reset control optional 2014-08-01 15:27:14 -03:00
radio [media] media/radio: fix radio-miropcm20.c build with io.h header file 2014-09-21 20:50:38 -03:00
rc [media] ir-rc5-decoder: print where decoding fails 2014-07-30 15:49:35 -03:00
tuners [media] it913x: init tuner on attach 2014-09-04 12:23:22 -03:00
usb [media] af9035: new IDs: add support for PCTV 78e and PCTV 79e 2014-09-04 12:24:19 -03:00
v4l2-core [media] vb2: fix VBI/poll regression 2014-09-21 20:57:30 -03:00
Kconfig [media] Kconfig: do not select SPI bus on sub-driver auto-select 2014-09-04 12:18:49 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media-device: Remove duplicated memset() in media_enum_entities() 2014-07-22 01:02:52 -03:00
media-devnode.c [media] media: Use a better owner for the media device 2014-05-13 13:39:00 -03:00
media-entity.c [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag 2013-12-04 15:03:45 -02:00