forked from luck/tmp_suning_uos_patched
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: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
1ff16c2091
commit
672d013bed
@ -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__,
|
||||||
|
Loading…
Reference in New Issue
Block a user