mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
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>
This commit is contained in:
parent
8528fa4147
commit
4562fbeac6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user