aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stb6100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/stb6100.c')
-rw-r--r--drivers/media/dvb/frontends/stb6100.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c
index 5c6d06775dd5..c8fdc1e99df1 100644
--- a/drivers/media/dvb/frontends/stb6100.c
+++ b/drivers/media/dvb/frontends/stb6100.c
@@ -360,7 +360,10 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency)
360 g = 12; 360 g = 12;
361 else 361 else
362 g = 14; 362 g = 14;
363
363 regs[STB6100_G] = (regs[STB6100_G] & ~STB6100_G_G) | g; 364 regs[STB6100_G] = (regs[STB6100_G] & ~STB6100_G_G) | g;
365 regs[STB6100_G] &= ~STB6100_G_GCT; /* mask GCT */
366 regs[STB6100_G] |= (1 << 5); /* 2Vp-p Mode */
364 367
365 /* VCO divide ratio (LO divide ratio, VCO prescaler enable). */ 368 /* VCO divide ratio (LO divide ratio, VCO prescaler enable). */
366 if (frequency <= 1075000) 369 if (frequency <= 1075000)