]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3d98f4cf406a7172e7584c5f20fa578274cdeff
treeddb94a5d1cf726c63bc81a1f84c3804763421d80
parent11b164d29b53a22aaa9ef149ae2bfa9f5a99344a
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