summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@m1k.net>2005-11-08 21:35:16 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 07:56:02 -0800
commit2b70a2f55e249308c57879df5723d96406e12b27 (patch)
tree5858511f6d99133d7e6d205090153f660f579955 /drivers/media/dvb
parenta18a80b09f78178f6404b538ab09937ee9044e2e (diff)
downloadblackbird-op-linux-2b70a2f55e249308c57879df5723d96406e12b27.tar.gz
blackbird-op-linux-2b70a2f55e249308c57879df5723d96406e12b27.zip
[PATCH] dvb: microtune mt7202dtf: Fix charge pump setting
Fix charge pump setting in microtune_mt7202dtf_pll_set(). Thanks to Jyrki Niskala for reporting. Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Cc: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/bt8xx/dvb-bt8xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/drivers/media/dvb/bt8xx/dvb-bt8xx.c
index 96ef35ecab49..1c5f1ec85352 100644
--- a/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -280,7 +280,7 @@ static int microtune_mt7202dtf_pll_set(struct dvb_frontend* fe, struct dvb_front
data[0] = (div >> 8) & 0x7f;
data[1] = div & 0xff;
data[2] = ((div >> 10) & 0x60) | cfg;
- data[3] = cpump | band_select;
+ data[3] = (cpump << 6) | band_select;
i2c_transfer(card->i2c_adapter, &msg, 1);
return (div * 166666 - 36000000);
OpenPOWER on IntegriCloud