aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-05-17 03:10:32 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-21 08:34:27 -0400
commitf8e5677f9ebadea9b60980c1bda75c6e6345fd44 (patch)
tree10c9ff1736b7fb7caf7c485f70b51bf034245033 /drivers
parent5943ba139182f6a3f27492efecb29b0a514b787f (diff)
[media] gspca - main: Remove USB traces
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/gspca.c2
-rw-r--r--drivers/media/video/gspca/gspca.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index 739abd4c72f4..08ce9948d99b 100644
--- a/drivers/media/video/gspca/gspca.c
+++ b/drivers/media/video/gspca/gspca.c
@@ -2495,6 +2495,6 @@ module_exit(gspca_exit);
2495module_param_named(debug, gspca_debug, int, 0644); 2495module_param_named(debug, gspca_debug, int, 0644);
2496MODULE_PARM_DESC(debug, 2496MODULE_PARM_DESC(debug,
2497 "Debug (bit) 0x01:error 0x02:probe 0x04:config" 2497 "Debug (bit) 0x01:error 0x02:probe 0x04:config"
2498 " 0x08:stream 0x10:frame 0x20:packet 0x40:USBin 0x80:USBout" 2498 " 0x08:stream 0x10:frame 0x20:packet"
2499 " 0x0100: v4l2"); 2499 " 0x0100: v4l2");
2500#endif 2500#endif
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index 41755226d389..d8cd69a3a7bf 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -25,8 +25,8 @@ extern int gspca_debug;
25#define D_STREAM 0x08 25#define D_STREAM 0x08
26#define D_FRAM 0x10 26#define D_FRAM 0x10
27#define D_PACK 0x20 27#define D_PACK 0x20
28#define D_USBI 0x40 28#define D_USBI 0x00
29#define D_USBO 0x80 29#define D_USBO 0x00
30#define D_V4L2 0x0100 30#define D_V4L2 0x0100
31#else 31#else
32#define PDEBUG(level, fmt, args...) 32#define PDEBUG(level, fmt, args...)