From patchwork Tue Sep 22 21:06:35 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: spam@systol-ng.god.lan X-Patchwork-Id: 49428 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8ML6lYN014748 for ; Tue, 22 Sep 2009 21:06:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751439AbZIVVGd (ORCPT ); Tue, 22 Sep 2009 17:06:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750901AbZIVVGd (ORCPT ); Tue, 22 Sep 2009 17:06:33 -0400 Received: from ip78-183-211-87.adsl2.static.versatel.nl ([87.211.183.78]:40760 "EHLO god.dyndns.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbZIVVGc (ORCPT ); Tue, 22 Sep 2009 17:06:32 -0400 Received: by god.dyndns.org (Postfix, from userid 1005) id ED82D11B618C; Tue, 22 Sep 2009 23:06:35 +0200 (CEST) Date: Tue, 22 Sep 2009 23:06:35 +0200 From: spam@systol-ng.god.lan To: linux-media@vger.kernel.org Cc: mkrufky@gmail.com Subject: [PATCH 2/4] 18271_calc_main_pll small bugfix Message-ID: <20090922210635.GB8661@systol-ng.god.lan> Reply-To: Henk.Vergonet@gmail.com MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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: Henk.Vergonet@gmail.com --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -r 29e4ba1a09bc linux/drivers/media/common/tuners/tda18271-common.c --- a/linux/drivers/media/common/tuners/tda18271-common.c Sat Sep 19 09:45:22 2009 -0300 +++ b/linux/drivers/media/common/tuners/tda18271-common.c Tue Sep 22 22:06:31 2009 +0200 @@ -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);