projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91bd341
)
V4L/DVB (9838): gspca: Delay when trying an other altsetting on streaming start.
author
Jean-Francois Moine
<moinejf@free.fr>
Sun, 23 Nov 2008 18:53:28 +0000
(15:53 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:46 +0000
(09:38 -0200)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/gspca.c
b/drivers/media/video/gspca/gspca.c
index 2358e6cfb381f400ab5b547ac0a9eb1ffa181a0b..9b71059521f99f1bb91c0b7e98b86120d08ed7e9 100644
(file)
--- a/
drivers/media/video/gspca/gspca.c
+++ b/
drivers/media/video/gspca/gspca.c
@@
-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;
}
}