[media] gspca - main: Remove USB traces
authorJean-François Moine <moinejf@free.fr>
Tue, 17 May 2011 07:10:32 +0000 (04:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 21 May 2011 12:34:27 +0000 (09:34 -0300)
The USB traces are better done by usbmon which is enabled in most Linux/GNU
distributions and which permits easier comparison with the USB exchanges of
other drivers.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c
drivers/media/video/gspca/gspca.h

index 739abd4c72f45da8533a7dca571506b1de62103e..08ce9948d99b28f28e0800fc9ffdeaf18d2d8551 100644 (file)
@@ -2495,6 +2495,6 @@ module_exit(gspca_exit);
 module_param_named(debug, gspca_debug, int, 0644);
 MODULE_PARM_DESC(debug,
                "Debug (bit) 0x01:error 0x02:probe 0x04:config"
-               " 0x08:stream 0x10:frame 0x20:packet 0x40:USBin 0x80:USBout"
+               " 0x08:stream 0x10:frame 0x20:packet"
                " 0x0100: v4l2");
 #endif
index 41755226d389f61cd29d0e58a98f5e3f11825182..d8cd69a3a7bf2e83561050b1c1c5500fc267a041 100644 (file)
@@ -25,8 +25,8 @@ extern int gspca_debug;
 #define D_STREAM 0x08
 #define D_FRAM 0x10
 #define D_PACK 0x20
-#define D_USBI 0x40
-#define D_USBO 0x80
+#define D_USBI 0x00
+#define D_USBO 0x00
 #define D_V4L2 0x0100
 #else
 #define PDEBUG(level, fmt, args...)