V4L/DVB (5523): Usbvision: fix a debug message in usb probe function
authorThierry MERLE <thierry.merle@free.fr>
Sat, 14 Apr 2007 20:53:55 +0000 (17:53 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:45:38 +0000 (15:45 -0300)
- change a printk to PDEBUG when USB probe detects an unknown device.
This will avoid a message log from usbvision when an unclaimed device is inserted.

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/usbvision/usbvision-video.c

index 04131cebf395ea9704c28698589d0831984c145e..d9e517d497f716b6ec73735292a2cf9178445d3c 100644 (file)
@@ -1793,7 +1793,7 @@ static int __devinit usbvision_probe(struct usb_interface *intf,
 
        model = devid->driver_info;
        if ( (model<0) || (model>=usbvision_device_data_size) ) {
-               printk(KERN_INFO "model out of bounds %d\n",model);
+               PDEBUG(DBG_PROBE, "model out of bounds %d",model);
                return -ENODEV;
        }
        printk(KERN_INFO "%s: %s found\n", __FUNCTION__,