aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-09-09 04:16:34 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:14:49 -0400
commit4562fbeac61468f80a8d05e5ed50660bd97b4859 (patch)
treef9a0c84ee0a0bbf601e5b322e526465b3b4664c0 /drivers/media
parent8528fa414703f5be17092be2d3a2c5389755253a (diff)
V4L/DVB (6232): dvb-pll: report whether input rf will be autoselected or set via insmod option
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/dvb-pll.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c
index 27b2d54b6972..8c8d7342d0b3 100644
--- a/drivers/media/dvb/frontends/dvb-pll.c
+++ b/drivers/media/dvb/frontends/dvb-pll.c
@@ -848,7 +848,20 @@ struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, int pll_addr,
848 printk(": id# %d (%s) attached, %s\n", pll_desc_id, desc->name, 848 printk(": id# %d (%s) attached, %s\n", pll_desc_id, desc->name,
849 id[priv->nr] == pll_desc_id ? 849 id[priv->nr] == pll_desc_id ?
850 "insmod option" : "autodetected"); 850 "insmod option" : "autodetected");
851 851 }
852 if ((debug) || (input[priv->nr] > 0)) {
853 printk("dvb-pll[%d]", priv->nr);
854 if (i2c != NULL)
855 printk(" %d-%04x", i2c_adapter_id(i2c), pll_addr);
856 printk(": tuner rf input will be ");
857 switch (input[priv->nr]) {
858 case 0:
859 printk("autoselected\n");
860 break;
861 default:
862 printk("set to input %d (insmod option)\n",
863 input[priv->nr]);
864 }
852 } 865 }
853 866
854 return fe; 867 return fe;