diff options
author | Manu Abraham <manu@linuxtv.org> | 2008-01-26 01:35:21 +0400 |
---|---|---|
committer | Manu Abraham <manu@linuxtv.org> | 2008-01-26 01:35:21 +0400 |
commit | 3b6ffc4fc3874bb14fa6d33398a3e9a25621789e (patch) | |
tree | 40214e0fec5a439b66cd703039d4c6ecd5cf6caa /linux/drivers/media/dvb/frontends/stb6100.c | |
parent | eab83567f6ad5747a7852e2880959e02775e54d4 (diff) | |
download | mediapointer-dvb-s2-3b6ffc4fc3874bb14fa6d33398a3e9a25621789e.tar.gz mediapointer-dvb-s2-3b6ffc4fc3874bb14fa6d33398a3e9a25621789e.tar.bz2 |
Fix invalid GCT mode
From: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stb6100.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stb6100.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb6100.c b/linux/drivers/media/dvb/frontends/stb6100.c index a05b68ac7..84c2116f0 100644 --- a/linux/drivers/media/dvb/frontends/stb6100.c +++ b/linux/drivers/media/dvb/frontends/stb6100.c @@ -367,7 +367,10 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) g = 12; else g = 14; + regs[STB6100_G] = (regs[STB6100_G] & ~STB6100_G_G) | g; + regs[STB6100_G] &= ~STB6100_G_GCT; /* mask GCT */ + regs[STB6100_G] |= (1 << 5); /* 2Vp-p Mode */ /* VCO divide ratio (LO divide ratio, VCO prescaler enable). */ if (frequency <= 1075000) |