aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/mxl5005s.h
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2009-10-28 22:10:16 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:41:23 -0500
commit48c511ed675772bd08044d97756f7f7aae5168eb (patch)
tree19f91133199dfad5ab0174ff5d826c0404760328 /drivers/media/common/tuners/mxl5005s.h
parentf0cd44b4a1a7465230dfbe1e645d9dc73f83cb13 (diff)
V4L/DVB (13331): mxl5005s: provide ability to override QAM gain for HVR-1600
The HVR-1600 doesn't use the standard mechanism for computing the gain when in QAM mode, instead always forcing it to be 0x02. Provide the ability to override the algorithm on a per-board basis. This change results in an improvement of 0.4-0.6 dB for QAM tuning. This work was sponsored by ONELAN Limited. Cc: Steven Toth <stoth@kernellabs.com> Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/mxl5005s.h')
-rw-r--r--drivers/media/common/tuners/mxl5005s.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/common/tuners/mxl5005s.h b/drivers/media/common/tuners/mxl5005s.h
index 7ac6815b30aa..fc8a1ffc53b4 100644
--- a/drivers/media/common/tuners/mxl5005s.h
+++ b/drivers/media/common/tuners/mxl5005s.h
@@ -108,6 +108,10 @@ struct mxl5005s_config {
108#define MXL_LOW_IF 1 108#define MXL_LOW_IF 1
109 u8 if_mode; 109 u8 if_mode;
110 110
111 /* Some boards need to override the built-in logic for determining
112 the gain when in QAM mode (the HVR-1600 is one such case) */
113 u8 qam_gain;
114
111 /* Stuff I don't know what to do with */ 115 /* Stuff I don't know what to do with */
112 u8 AgcMasterByte; 116 u8 AgcMasterByte;
113}; 117};