Commit d1244f77 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] mt2063: print the detected version



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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 36ae6df0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);