android_kernel_motorola_sm6225/drivers/media/video/pwc
Hans de Goede 296da3cd14 [media] pwc: poll(): Check that the device has not beem claimed for streaming already
Some apps which use read() start the streaming through a call to poll(),
this means that if another app has already claimed the device for streaming
(through for example a s_fmt, or a reqbufs), that the poll should fail instead
of getting passed through to vb2_poll.

We only check for this when the app is polling for reads, so that ctrl events
still work.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-27 11:42:04 -03:00
..
Kconfig [media] pwc: Replace private buffer management code with videobuf2 2011-07-27 17:53:43 -03:00
Makefile V4L/DVB (5166): Remove obsolete alias defines of CONFIG_* settings 2007-02-21 13:35:11 -02:00
philips.txt tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
pwc-ctrl.c [media] pwc: Use one shared usb command buffer 2012-01-16 11:27:58 -02:00
pwc-dec1.c [media] pwc: Use one shared usb command buffer 2012-01-16 11:27:58 -02:00
pwc-dec1.h [media] pwc: Use one shared usb command buffer 2012-01-16 11:27:58 -02:00
pwc-dec23.c [media] pwc: Use one shared usb command buffer 2012-01-16 11:27:58 -02:00
pwc-dec23.h [media] pwc: Use one shared usb command buffer 2012-01-16 11:27:58 -02:00
pwc-if.c [media] pwc: poll(): Check that the device has not beem claimed for streaming already 2012-03-27 11:42:04 -03:00
pwc-kiara.c [media] pwc: clean-up header files 2011-07-27 17:55:37 -03:00
pwc-kiara.h [media] pwc: Remove driver specific ioctls 2012-01-06 10:46:05 -02:00
pwc-misc.c [media] pwc: Fix pixfmt handling 2012-01-16 11:08:26 -02:00
pwc-nala.h
pwc-timon.c V4L/DVB (5547): Add ENUM_FRAMESIZES and ENUM_FRAMEINTERVALS ioctls 2007-04-27 15:45:50 -03:00
pwc-timon.h [media] pwc: Remove driver specific ioctls 2012-01-06 10:46:05 -02:00
pwc-uncompress.c [media] pwc: Remove software emulation of arbritary resolutions 2012-01-06 10:46:46 -02:00
pwc-v4l.c [media] v4l2: standardize log start/end message 2012-02-14 16:38:13 -02:00
pwc.h [media] pwc: Use one shared usb command buffer 2012-01-16 11:27:58 -02:00