[PATCH 09/37] dvb: microtune mt7202dtf: Fix charge pump setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Fix charge pump setting in microtune_mt7202dtf_pll_set().
Thanks to Jyrki Niskala for reporting.

Signed-off-by: Johannes Stezenbach <[email protected]>
Signed-off-by: Michael Krufky <[email protected]>

 drivers/media/dvb/bt8xx/dvb-bt8xx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.14-git3.orig/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ linux-2.6.14-git3/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -280,7 +280,7 @@
 	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);


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux