diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-01-17 04:46:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 12:42:32 -0300 |
commit | 8fee8453969ccb0ecc2da128879e54641028ffd1 (patch) | |
tree | ff0c4a866a1a48dd073bfe13ab7e85e96475e698 | |
parent | ceb35beaed9fc8e71755ac99a83a105730c64111 (diff) |
V4L/DVB (10370): gspca - main: Have 3 URBs instead of 2 for ISOC transfers.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/gspca/gspca.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 6c03d57ae50..db22e3c2476 100644 --- a/drivers/media/video/gspca/gspca.c +++ b/drivers/media/video/gspca/gspca.c @@ -38,7 +38,10 @@ #include "gspca.h" /* global values */ -#define DEF_NURBS 2 /* default number of URBs */ +#define DEF_NURBS 3 /* default number of URBs */ +#if DEF_NURBS > MAX_NURBS +#error "DEF_NURBS too big" +#endif MODULE_AUTHOR("Jean-Francois Moine <http://moinejf.free.fr>"); MODULE_DESCRIPTION("GSPCA USB Camera Driver"); |