aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2012-08-06 21:47:11 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-09 19:58:05 -0400
commitca60a45dd4a85151068f24148dac38eca6ec2d1c (patch)
tree2f5ff560fb200613af95ef737f2bafa22c8be3e3 /drivers/media/common/tuners
parent21dc61d3c0a4c0ee11e3e4a4e4888d4c71875b6d (diff)
[media] xc5000: show debug version fields in decimal instead of hex
The driver prints out a dotted version number but it's in hex. As a result, the version doesn't visibly match the filename for the firmware, and it caused a bunch of confusion while discussing different versions with the chip manufacturer. Change the firmware printout to be in decimal. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners')
-rw-r--r--drivers/media/common/tuners/xc5000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c
index b488c0e1bcd7..0720d90c985f 100644
--- a/drivers/media/common/tuners/xc5000.c
+++ b/drivers/media/common/tuners/xc5000.c
@@ -704,7 +704,7 @@ static void xc_debug_dump(struct xc5000_priv *priv)
704 xc_get_version(priv, &hw_majorversion, &hw_minorversion, 704 xc_get_version(priv, &hw_majorversion, &hw_minorversion,
705 &fw_majorversion, &fw_minorversion); 705 &fw_majorversion, &fw_minorversion);
706 xc_get_buildversion(priv, &fw_buildversion); 706 xc_get_buildversion(priv, &fw_buildversion);
707 dprintk(1, "*** HW: V%02x.%02x, FW: V%02x.%02x.%04x\n", 707 dprintk(1, "*** HW: V%d.%d, FW: V %d.%d.%d\n",
708 hw_majorversion, hw_minorversion, 708 hw_majorversion, hw_minorversion,
709 fw_majorversion, fw_minorversion, fw_buildversion); 709 fw_majorversion, fw_minorversion, fw_buildversion);
710 710