V4L/DVB (10370): gspca - main: Have 3 URBs instead of 2 for ISOC transfers.
authorJean-Francois Moine <moinejf@free.fr>
Sat, 17 Jan 2009 07:46:38 +0000 (04:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:32 +0000 (12:42 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c

index 6c03d57ae506276fa7a37ce88faeff5fcd2f5d88..db22e3c24764a4fa64ab88b8e244429651160cc3 100644 (file)
 #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");