浏览代码

[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>
Michael Krufky 19 年之前
父节点
当前提交
2b70a2f55e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/dvb/bt8xx/dvb-bt8xx.c

+ 1 - 1
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[0] = (div >> 8) & 0x7f;
 	data[1] = div & 0xff;
 	data[1] = div & 0xff;
 	data[2] = ((div >> 10) & 0x60) | cfg;
 	data[2] = ((div >> 10) & 0x60) | cfg;
-	data[3] = cpump | band_select;
+	data[3] = (cpump << 6) | band_select;
 
 
 	i2c_transfer(card->i2c_adapter, &msg, 1);
 	i2c_transfer(card->i2c_adapter, &msg, 1);
 	return (div * 166666 - 36000000);
 	return (div * 166666 - 36000000);