]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (6232): dvb-pll: report whether input rf will be autoselected or set via...
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 9 Sep 2007 08:16:34 +0000 (05:16 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:14:49 +0000 (22:14 -0300)
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 27b2d54b6972b8cd8cd0b8cdbbfcf3a5b6d36757..8c8d7342d0b37254475d22a804e4680455d5be3a 100644 (file)
@@ -848,7 +848,20 @@ struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, int pll_addr,
                printk(": id# %d (%s) attached, %s\n", pll_desc_id, desc->name,
                       id[priv->nr] == pll_desc_id ?
                                "insmod option" : "autodetected");
-
+       }
+       if ((debug) || (input[priv->nr] > 0)) {
+               printk("dvb-pll[%d]", priv->nr);
+               if (i2c != NULL)
+                       printk(" %d-%04x", i2c_adapter_id(i2c), pll_addr);
+               printk(": tuner rf input will be ");
+               switch (input[priv->nr]) {
+               case 0:
+                       printk("autoselected\n");
+                       break;
+               default:
+                       printk("set to input %d (insmod option)\n",
+                              input[priv->nr]);
+               }
        }
 
        return fe;