]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
V4L/DVB (10198): uvcvideo: Print the UVC version number in binary-coded decimal.
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Sat, 3 Jan 2009 22:24:38 +0000 (19:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 29 Jan 2009 10:35:36 +0000 (08:35 -0200)
The UVC specification release number is a binary-coded decimal number, print
it as such.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_driver.c

index 20c16c4a62d163dedcb024de9568b87b92ba621f..b12873265cc56c5c811a6cba514305f8e6534a3d 100644 (file)
@@ -1635,7 +1635,7 @@ static int uvc_probe(struct usb_interface *intf,
                goto error;
        }
 
-       uvc_printk(KERN_INFO, "Found UVC %u.%02u device %s (%04x:%04x)\n",
+       uvc_printk(KERN_INFO, "Found UVC %u.%02x device %s (%04x:%04x)\n",
                dev->uvc_version >> 8, dev->uvc_version & 0xff,
                udev->product ? udev->product : "<unnamed>",
                le16_to_cpu(udev->descriptor.idVendor),