V4L/DVB (6231): dvb-pll: always show pll name if forced via insmod option
The name of the pll will be shown if forced via insmod option, or if debug is enabled. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
704e39bf62
commit
8528fa4147
|
@ -841,7 +841,7 @@ struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, int pll_addr,
|
||||||
|
|
||||||
fe->tuner_priv = priv;
|
fe->tuner_priv = priv;
|
||||||
|
|
||||||
if (debug) {
|
if ((debug) || (id[priv->nr] == pll_desc_id)) {
|
||||||
printk("dvb-pll[%d]", priv->nr);
|
printk("dvb-pll[%d]", priv->nr);
|
||||||
if (i2c != NULL)
|
if (i2c != NULL)
|
||||||
printk(" %d-%04x", i2c_adapter_id(i2c), pll_addr);
|
printk(" %d-%04x", i2c_adapter_id(i2c), pll_addr);
|
||||||
|
|
Loading…
Reference in New Issue