From: Jean-Francois Moine Date: Sat, 17 Jan 2009 07:46:38 +0000 (-0300) Subject: V4L/DVB (10370): gspca - main: Have 3 URBs instead of 2 for ISOC transfers. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8fee8453969ccb0ecc2da128879e54641028ffd1;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB (10370): gspca - main: Have 3 URBs instead of 2 for ISOC transfers. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 6c03d57ae506..db22e3c24764 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 "); MODULE_DESCRIPTION("GSPCA USB Camera Driver");