]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: uvcvideo: Use POLLOUT and POLLWRNORM for output devices
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 31 Mar 2010 15:29:26 +0000 (12:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:52:52 +0000 (00:52 -0300)
commit0cc226862be16cd71a1df6b0b8228b31beece359
tree0dcf1e935719a6766fb156c79acb4b6c400b48d4
parentbdf07972c6551b9a2636fb1c9fa730bf2803b489
V4L/DVB: uvcvideo: Use POLLOUT and POLLWRNORM for output devices

The V4L2 specification requires drivers to use the write events in the
file operations poll handler for output devices. The uvcvideo driver
erroneously used read events for all devices. Fix this.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_queue.c