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)
commited3de6015a920c131fbcc770fb95097fde592d86
tree0dcf1e935719a6766fb156c79acb4b6c400b48d4
parent35a00c41ea8b280cb629503c735daf20cdf0f9f8
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