V4L/DVB: videobuf: make poll() report proper flags for output video devices
authorPawel Osciak <p.osciak@samsung.com>
Mon, 29 Mar 2010 08:16:31 +0000 (05:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:40 +0000 (12:58 -0300)
commit9b558434136138edc79710385aaf613cb4b30459
tree0e59a10d120952275b971ee44e4a77fe53ca6e44
parentfc7f8fd42c2b934ac348995e0c530c917fc277d5
V4L/DVB: videobuf: make poll() report proper flags for output video devices

According to the V4L2 specification, poll() should set POLLOUT | POLLWRNORM
flags for output devices after the frame has been displayed.

Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-core.c