projects
/
platform
/
upstream
/
kernel-adaptation-pc.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
2358e6c
..
9b71059
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;
}
}