V4L/DVB (13138): gspca_sq905: cleanup sq905_dostream
authorHans de Goede <hdegoede@redhat.com>
Mon, 5 Oct 2009 08:58:18 +0000 (05:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:30 +0000 (18:40 -0200)
commit8519110040ca98dfbc89c473921cca390c81460c
treeddb94a5d1cf726c63bc81a1f84c3804763421d80
parent930bf78c20187f3cbbf0775cd317616c6b681a8a
V4L/DVB (13138): gspca_sq905: cleanup sq905_dostream

-Remove use of unneeded discarding variable
-Cleanup locking to only take usb_lock around access to the control
 endpoint, by no longer taking the lock around the bulk transfer
 (which takes most of the time) we can remove the msleep(1) which was
 needed to give the gspca core a chance to grab the usb_lock to signal
 us to stop.

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