From patchwork Wed Aug 25 08:48:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joonyoung Shim X-Patchwork-Id: 131301 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7P8mWRJ027215 for ; Wed, 25 Aug 2010 08:48:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752566Ab0HYIsa (ORCPT ); Wed, 25 Aug 2010 04:48:30 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:20312 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752400Ab0HYIs3 (ORCPT ); Wed, 25 Aug 2010 04:48:29 -0400 Received: from epmmp1 (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0L7P00BQU9SQC2C0@mailout4.samsung.com> for linux-media@vger.kernel.org; Wed, 25 Aug 2010 17:48:26 +0900 (KST) Received: from TNRNDGASPAPP1.tn.corp.samsungelectronics.net ([165.213.149.150]) by mmp1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0L7P0094Y9SQBQ@mmp1.samsung.com> for linux-media@vger.kernel.org; Wed, 25 Aug 2010 17:48:26 +0900 (KST) Received: from localhost.localdomain ([10.89.10.212]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Aug 2010 17:48:25 +0900 Date: Wed, 25 Aug 2010 17:48:47 +0900 From: Joonyoung Shim Subject: [PATCH 1/3] radio-si470x: Fix setting of de-emphasis To: linux-media@vger.kernel.org Cc: mchehab@infradead.org, tobias.lorenz@gmx.net, kyungmin.park@samsung.com Message-id: <1282726129-28408-1-git-send-email-jy0922.shim@samsung.com> X-Mailer: git-send-email 1.7.0.4 Content-transfer-encoding: 7BIT X-OriginalArrivalTime: 25 Aug 2010 08:48:25.0883 (UTC) FILETIME=[4818CEB0:01CB4432] Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 25 Aug 2010 08:48:32 +0000 (UTC) diff --git a/drivers/media/radio/si470x/radio-si470x-common.c b/drivers/media/radio/si470x/radio-si470x-common.c index 9927a59..7585566 100644 --- a/drivers/media/radio/si470x/radio-si470x-common.c +++ b/drivers/media/radio/si470x/radio-si470x-common.c @@ -357,7 +357,7 @@ int si470x_start(struct si470x_device *radio) goto done; /* sysconfig 1 */ - radio->registers[SYSCONFIG1] = SYSCONFIG1_DE; + radio->registers[SYSCONFIG1] = (de << 11) & SYSCONFIG1_DE; /* DE */ retval = si470x_set_register(radio, SYSCONFIG1); if (retval < 0) goto done;