[media] gspca: Use req_events in poll
authorHans de Goede <hdegoede@redhat.com>
Mon, 7 May 2012 11:19:42 +0000 (08:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 12:32:00 +0000 (09:32 -0300)
commita2d887c5fea33f341fd0d2a1487150473cf69014
tree7bda3a1458c4e03041ff42ff38b8a6d7757bd5a2
parent9a190c858cacd4b0110fefda5046ade8cd726261
[media] gspca: Use req_events in poll

So that we don't start a read stream when an app is only polling for control
events.

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