diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2008-01-25 16:35:21 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:22 -0500 |
commit | d6812086508a38ccb48ed9d5bc9f50732dc818db (patch) | |
tree | 25e6cb9afb4bf665f5d9099990c34b2b90786ad4 /drivers/media/dvb/frontends/stb6100.c | |
parent | 18527bee917fb94aaf1760826d918ac7f08d7e61 (diff) |
V4L/DVB (9452): Fix invalid GCT mode
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stb6100.c')
-rw-r--r-- | drivers/media/dvb/frontends/stb6100.c | 3 |
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) |