Commit 672d013b authored by Thierry MERLE's avatar Thierry MERLE Committed by Mauro Carvalho Chehab

V4L/DVB (5523): Usbvision: fix a debug message in usb probe function

- 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: default avatarThierry MERLE <thierry.merle@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 1ff16c20
...@@ -1793,7 +1793,7 @@ static int __devinit usbvision_probe(struct usb_interface *intf, ...@@ -1793,7 +1793,7 @@ static int __devinit usbvision_probe(struct usb_interface *intf,
model = devid->driver_info; model = devid->driver_info;
if ( (model<0) || (model>=usbvision_device_data_size) ) { 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; return -ENODEV;
} }
printk(KERN_INFO "%s: %s found\n", __FUNCTION__, printk(KERN_INFO "%s: %s found\n", __FUNCTION__,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment