V4L/DVB (13184): gspca: Don't forget to resubmit URB's in case of an error
commitbf926adfbbb36876396511f1bdc78f73dc596e21
authorHans de Goede <hdegoede@redhat.com>
Fri, 23 Oct 2009 09:56:06 +0000 (23 06:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:47 +0000 (5 18:40 -0200)
tree336ef7ba4f68af52f3cc45b87e33a26d4f3451c2
parent21f1b932dbcc5ed18444e6995aeb856e583804ae
V4L/DVB (13184): gspca: Don't forget to resubmit URB's in case of an error

The gscpa core was not resubmitting URB's when the URB status was an error,
this means we will loose URB's (potentially all stopping the stream) in
case of sporadic USB issues. I've seen this with an Aiptek stv0680 based
PenCam connected through an USB 2.0 hub.

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