diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-09-09 04:16:34 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-09-09 04:16:34 -0400 |
commit | 64321051e39d6c4d152535d3b6327916a0106d33 (patch) | |
tree | 62c0af7b3849ac3c466c604e3be09f177573a031 /linux/drivers/media/dvb/frontends/dvb-pll.c | |
parent | 34543bbac9db8ef29465d0cd9a08931c09fe9170 (diff) | |
download | mediapointer-dvb-s2-64321051e39d6c4d152535d3b6327916a0106d33.tar.gz mediapointer-dvb-s2-64321051e39d6c4d152535d3b6327916a0106d33.tar.bz2 |
dvb-pll: report whether input rf will be autoselected or set via insmod option
From: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/dvb-pll.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/dvb-pll.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/dvb-pll.c b/linux/drivers/media/dvb/frontends/dvb-pll.c index 961afb582..50c8ee294 100644 --- a/linux/drivers/media/dvb/frontends/dvb-pll.c +++ b/linux/drivers/media/dvb/frontends/dvb-pll.c @@ -849,7 +849,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; |