Skip to content

Commit

Permalink
[media] mt2063: print the detected version
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Jan 5, 2012
1 parent 36ae6df commit d1244f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/common/tuners/mt2063.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d1244f7

Please sign in to comment.