[media] mt2063: print the detected version
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 23 Jul 2011 14:55:57 +0000 (11:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jan 2012 00:49:02 +0000 (22:49 -0200)
Instead of printing it just for debug purposes, outputs the detected
version at the logs. This may be useful if someone wants to report
a problem.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/mt2063.c

index 599f8644ef11ba6de50e3ccfa67702daff124449..de45c9db887d535b807f6b21344e7487ab7cbb9d 100644 (file)
@@ -1845,8 +1845,7 @@ static int mt2063_init(struct dvb_frontend *fe)
                return -ENODEV; /*  Wrong tuner Part/Rev code */
        }
 
-       dprintk(1, "Discovered a mt2063 %s (2nd part number 0x%02x)\n",
-               step, state->reg[MT2063_REG_RSVD_3B]);
+       printk(KERN_INFO "mt2063: detected a mt2063 %s\n", step);
 
        /*  Reset the tuner  */
        status = mt2063_write(state, MT2063_REG_LO2CQ_3, &all_resets, 1);