aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/r820t.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners/r820t.c')
-rw-r--r--drivers/media/tuners/r820t.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c
index 79ab2b74bd52..1880807e3e8d 100644
--- a/drivers/media/tuners/r820t.c
+++ b/drivers/media/tuners/r820t.c
@@ -915,6 +915,14 @@ static int r820t_set_tv_standard(struct r820t_priv *priv,
915 flt_ext_widest = 0x00; /* r15[7]: flt_ext_wide off */ 915 flt_ext_widest = 0x00; /* r15[7]: flt_ext_wide off */
916 polyfil_cur = 0x60; /* r25[6:5]:min */ 916 polyfil_cur = 0x60; /* r25[6:5]:min */
917 } else if (bw == 7) { 917 } else if (bw == 7) {
918#if 0
919 /*
920 * There are two 7 MHz tables defined on the original
921 * driver, but just the second one seems to be visible
922 * by rtl2832. Keep this one here commented, as it
923 * might be needed in the future
924 */
925
918 if_khz = 4070; 926 if_khz = 4070;
919 filt_cal_lo = 60000; 927 filt_cal_lo = 60000;
920 filt_gain = 0x10; /* +3db, 6mhz on */ 928 filt_gain = 0x10; /* +3db, 6mhz on */
@@ -926,7 +934,8 @@ static int r820t_set_tv_standard(struct r820t_priv *priv,
926 lt_att = 0x00; /* r31[7], lt att enable */ 934 lt_att = 0x00; /* r31[7], lt att enable */
927 flt_ext_widest = 0x00; /* r15[7]: flt_ext_wide off */ 935 flt_ext_widest = 0x00; /* r15[7]: flt_ext_wide off */
928 polyfil_cur = 0x60; /* r25[6:5]:min */ 936 polyfil_cur = 0x60; /* r25[6:5]:min */
929#if 0 /* 7 MHz type 2 - nor sure why/where this is used - Perhaps Australia? */ 937#endif
938 /* 7 MHz, second table */
930 if_khz = 4570; 939 if_khz = 4570;
931 filt_cal_lo = 63000; 940 filt_cal_lo = 63000;
932 filt_gain = 0x10; /* +3db, 6mhz on */ 941 filt_gain = 0x10; /* +3db, 6mhz on */
@@ -938,7 +947,6 @@ static int r820t_set_tv_standard(struct r820t_priv *priv,
938 lt_att = 0x00; /* r31[7], lt att enable */ 947 lt_att = 0x00; /* r31[7], lt att enable */
939 flt_ext_widest = 0x00; /* r15[7]: flt_ext_wide off */ 948 flt_ext_widest = 0x00; /* r15[7]: flt_ext_wide off */
940 polyfil_cur = 0x60; /* r25[6:5]:min */ 949 polyfil_cur = 0x60; /* r25[6:5]:min */
941#endif
942 } else { 950 } else {
943 if_khz = 4570; 951 if_khz = 4570;
944 filt_cal_lo = 68500; 952 filt_cal_lo = 68500;