mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-23 22:20:01 +07:00
V4L/DVB (9838): gspca: Delay when trying an other altsetting on streaming start.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
91bd3412a2
commit
9edf1a6925
@ -639,8 +639,11 @@ static int gspca_init_transfer(struct gspca_dev *gspca_dev)
|
||||
"usb_submit_urb [%d] err %d", n, ret);
|
||||
gspca_dev->streaming = 0;
|
||||
destroy_urbs(gspca_dev);
|
||||
if (ret == -ENOSPC)
|
||||
if (ret == -ENOSPC) {
|
||||
mdelay(20); /* wait for kill
|
||||
* complete */
|
||||
break; /* try the previous alt */
|
||||
}
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user