aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@m1k.net>2005-11-09 00:35:16 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 10:56:02 -0500
commit2b70a2f55e249308c57879df5723d96406e12b27 (patch)
tree5858511f6d99133d7e6d205090153f660f579955 /drivers/media/dvb
parenta18a80b09f78178f6404b538ab09937ee9044e2e (diff)
[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
280 data[0] = (div >> 8) & 0x7f; 280 data[0] = (div >> 8) & 0x7f;
281 data[1] = div & 0xff; 281 data[1] = div & 0xff;
282 data[2] = ((div >> 10) & 0x60) | cfg; 282 data[2] = ((div >> 10) & 0x60) | cfg;
283 data[3] = cpump | band_select; 283 data[3] = (cpump << 6) | band_select;
284 284
285 i2c_transfer(card->i2c_adapter, &msg, 1); 285 i2c_transfer(card->i2c_adapter, &msg, 1);
286 return (div * 166666 - 36000000); 286 return (div * 166666 - 36000000);