V4L/DVB (13331): mxl5005s: provide ability to override QAM gain for HVR-1600
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Thu, 29 Oct 2009 02:10:16 +0000 (23:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:23 +0000 (18:41 -0200)
commit48c511ed675772bd08044d97756f7f7aae5168eb
tree19f91133199dfad5ab0174ff5d826c0404760328
parentf0cd44b4a1a7465230dfbe1e645d9dc73f83cb13
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>
drivers/media/common/tuners/mxl5005s.c
drivers/media/common/tuners/mxl5005s.h
drivers/media/video/cx18/cx18-dvb.c