mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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>
This commit is contained in:
parent
14799f6cf3
commit
ab6c8cf21e
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue