From: Stefan Ringel <[email protected]>

add dtv78 parameter


Signed-off-by: Stefan Ringel <[email protected]>
---
 drivers/staging/tm6000/tm6000-cards.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/tm6000/tm6000-cards.c 
b/drivers/staging/tm6000/tm6000-cards.c
index eef58da..cf2e76c 100644
--- a/drivers/staging/tm6000/tm6000-cards.c
+++ b/drivers/staging/tm6000/tm6000-cards.c
@@ -65,6 +65,9 @@ static unsigned int xc2028_mts;
 module_param(xc2028_mts, int, 0644);
 MODULE_PARM_DESC(xc2028_mts, "enable mts firmware (xc2028/3028 only)");
 
+static unsigned int xc2028_dtv78;
+module_param(xc2028_dtv78, int, 0644);
+MODULE_PARM_DESC(xc2028_dtv78, "enable dualband config (xc2028/3028 only)");
 
 struct tm6000_board {
        char            *name;
@@ -687,8 +690,12 @@ static void tm6000_config_tuner(struct tm6000_core *dev)
                ctl.read_not_reliable = 0;
                ctl.msleep = 10;
                ctl.demod = XC3028_FE_ZARLINK456;
-               ctl.vhfbw7 = 1;
-               ctl.uhfbw8 = 1;
+
+               if (xc2028_dtv78) {
+                       ctl.vhfbw7 = 1;
+                       ctl.uhfbw8 = 1;
+               }
+
                if (xc2028_mts)
                        ctl.mts = 1;
 
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to