Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4562fbeac61468f80a8d05e5ed50660bd97b4859
Commit:     4562fbeac61468f80a8d05e5ed50660bd97b4859
Parent:     8528fa414703f5be17092be2d3a2c5389755253a
Author:     Michael Krufky <[EMAIL PROTECTED]>
AuthorDate: Sun Sep 9 05:16:34 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:14:49 2007 -0300

    V4L/DVB (6232): dvb-pll: report whether input rf will be autoselected or 
set via insmod option
    
    Signed-off-by: Michael Krufky <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/dvb/frontends/dvb-pll.c |   15 ++++++++++++++-
 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 27b2d54..8c8d734 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,
                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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to