diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2010-01-13 18:34:27 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 18:10:47 (GMT) |
commit | ab6c8cf21e180bcee1a6669f59ef62c0cceaf5d6 (patch) | |
tree | 57447da03d6ec44cd53970b7c356429225d94999 /drivers | |
parent | 14799f6cf35f843806019f548e80ffa669d16102 (diff) | |
download | linux-fsl-qoriq-ab6c8cf21e180bcee1a6669f59ef62c0cceaf5d6.tar.xz |
V4L/DVB: gspca - main: Clear any previous USB error when starting the transfer
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/gspca/gspca.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 04aaa88..6a6e22c 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) goto out; } + gspca_dev->usb_err = 0; + /* set the higher alternate setting and * loop until urb submit succeeds */ if (gspca_dev->cam.reverse_alts) |