Skip to content

Commit

Permalink
V4L/DVB (10198): uvcvideo: Print the UVC version number in binary-cod…
Browse files Browse the repository at this point in the history
…ed decimal.

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>
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Jan 29, 2009
1 parent 2c2d264 commit fba4578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/uvc/uvc_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit fba4578

Please sign in to comment.