aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-dvb.c
diff options
context:
space:
mode:
authorAbylay Ospan <aospan@netup.ru>2009-10-17 07:23:00 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:41:23 -0500
commit873688cd30294412e185ba39f8487e3eed0f692d (patch)
tree118cfaef5829cb8ace6de57d2d51f0f87243afca /drivers/media/video/cx23885/cx23885-dvb.c
parentadcd8de6de36f67241a5c3562f2ef1d5998b30a9 (diff)
V4L/DVB (13334): stv6110: add configurable gain
It has positive effect for NetUP Dual DVB-S2 CI card. Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index f4f046cd81a5..0180b75d1f3d 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -414,12 +414,14 @@ static struct stv6110_config netup_stv6110_tunerconfig_a = {
414 .i2c_address = 0x60, 414 .i2c_address = 0x60,
415 .mclk = 16000000, 415 .mclk = 16000000,
416 .clk_div = 1, 416 .clk_div = 1,
417 .gain = 8, /* +16 dB - maximum gain */
417}; 418};
418 419
419static struct stv6110_config netup_stv6110_tunerconfig_b = { 420static struct stv6110_config netup_stv6110_tunerconfig_b = {
420 .i2c_address = 0x63, 421 .i2c_address = 0x63,
421 .mclk = 16000000, 422 .mclk = 16000000,
422 .clk_div = 1, 423 .clk_div = 1,
424 .gain = 8, /* +16 dB - maximum gain */
423}; 425};
424 426
425static int tbs_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage) 427static int tbs_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)