]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6231): dvb-pll: always show pll name if forced via insmod option
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 9 Sep 2007 08:08:30 +0000 (05:08 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:14:49 +0000 (22:14 -0300)
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>
drivers/media/dvb/frontends/dvb-pll.c

index 64007032997c14d6c8d7c86485c41d50a31867fd..27b2d54b6972b8cd8cd0b8cdbbfcf3a5b6d36757 100644 (file)
@@ -841,7 +841,7 @@ struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, int pll_addr,
 
        fe->tuner_priv = priv;
 
-       if (debug) {
+       if ((debug) || (id[priv->nr] == pll_desc_id)) {
                printk("dvb-pll[%d]", priv->nr);
                if (i2c != NULL)
                        printk(" %d-%04x", i2c_adapter_id(i2c), pll_addr);