summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dvb-pll.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-09-09 05:08:30 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 22:14:49 -0300
commit8528fa414703f5be17092be2d3a2c5389755253a (patch)
tree6139e378c8ac71f6ef1e54db0174d5b6d416520a /drivers/media/dvb/frontends/dvb-pll.c
parent704e39bf620810734a38b3f9c0e07cede2a76d91 (diff)
downloadkernel-crypto-8528fa414703f5be17092be2d3a2c5389755253a.tar.gz
kernel-crypto-8528fa414703f5be17092be2d3a2c5389755253a.tar.xz
kernel-crypto-8528fa414703f5be17092be2d3a2c5389755253a.zip
V4L/DVB (6231): dvb-pll: always show pll name if forced via insmod option
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>
Diffstat (limited to 'drivers/media/dvb/frontends/dvb-pll.c')
-rw-r--r--drivers/media/dvb/frontends/dvb-pll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c
index 64007032997..27b2d54b697 100644
--- a/drivers/media/dvb/frontends/dvb-pll.c
+++ b/drivers/media/dvb/frontends/dvb-pll.c
@@ -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);