[media] vivi: let vb2_poll handle events
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 13 Jul 2011 07:28:27 +0000 (04:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 27 Mar 2012 14:41:56 +0000 (11:41 -0300)
commit0bf0f713d6e6b9f1c510d598c29ac17812a4eea5
tree1240ef88b5ff7e221bfade608529ea33274ae0e3
parent95213ceb1b527b8102c589bd41fcb7c9163fdd79
[media] vivi: let vb2_poll handle events

The vb2_poll function now tests for events and sets POLLPRI accordingly.
So there it is no longer necessary to test for it in the vivi driver.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/vivi.c