18271_calc_main_pll small bugfix
PATCH 2/4 18271_calc_main_pll small bugfix
Removed code fragment that is not part of the (C2) specs. Possibly an early remnant of an attempted if_notch filter configuration. It is already handled correctly in the tda18271_set_if_notch function.
Signed-off-by [email protected]
linux/drivers/media/common/tuners/tda18271-common.c +0 -9
@@ -582,15 +582,6 @@ regs[R_MPD ] = (0x77 & pd); -switch (priv->mode) { -case TDA18271_ANALOG : - regs[R_MPD ] &= ~0x08 ; -break ; -case TDA18271_DIGITAL : - regs[R_MPD ] |=0x08 ; -break ; - } - div = ((d * (freq /1000 )) <<7 ) /125 ; regs[R_MD1 ] =0x7f & (div >>16 );
Quoted 17 lines · On Tue, Sep 22, 2009 at 5:06 PM, <[email protected]> wrote:
Removed code fragment that is not part of the (C2) specs. Possibly an early remnant of an attempted
if_notchfilter configuration. It is already handled correctly in thetda18271_set_if_notchfunction.Signed-off-by [email protected]diff -r
29e4ba1a09bclinux/drivers/media/common/tuners/tda18271-common.clinux/drivers/media/common/tuners/tda18271-common.c Tue Sep 22 22:06:31 2009 +0200 renamed from linux/drivers/media/common/tuners/tda18271-common.c Sat Sep 19 09:45:22 2009 -0300 +0
-2@@ -582,15 +582,6 @@ regs[R_MPD] = (0x77 & pd); - switch (priv->mode) { - case TDA18271_ANALOG:
linux/drivers/media/common/tuners/tda18271-common.c Tue Sep 22 22:06:31 2009 +0200 line 587
Quoted 10 lines
linux/drivers/media/common/tuners/tda18271-common.c Tue Sep 22 22:06:31 2009 +0200 renamed from linux/drivers/media/common/tuners/tda18271-common.c Sat Sep 19 09:45:22 2009 -0300 +0
-7- regs[R_MPD] &= ~0x08; - break; - case TDA18271_DIGITAL: - regs[R_MPD] |= 0x08; - break; - } - div = ((d * (freq / 1000)) << 7) / 125; regs[R_MD1] = 0x7f & (div >> 16);
NACK. This bit needs to remain -- do not merge this.
Regards,
Mike Krufky