aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/gspca.c')
-rw-r--r--drivers/media/video/gspca/gspca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index 04aaa88ce4f5..6a6e22c61779 100644
--- a/drivers/media/video/gspca/gspca.c
+++ b/drivers/media/video/gspca/gspca.c
@@ -589,6 +589,8 @@ static int gspca_init_transfer(struct gspca_dev *gspca_dev)
589 goto out; 589 goto out;
590 } 590 }
591 591
592 gspca_dev->usb_err = 0;
593
592 /* set the higher alternate setting and 594 /* set the higher alternate setting and
593 * loop until urb submit succeeds */ 595 * loop until urb submit succeeds */
594 if (gspca_dev->cam.reverse_alts) 596 if (gspca_dev->cam.reverse_alts)