Message ID | 1500654560-29516-1-git-send-email-s.nawrocki@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9d154e42a338a4142e7a656d662ebf98c4ceb26b |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DE33E60388 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 21 Jul 2017 16:29:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C71832872B for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 21 Jul 2017 16:29:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB38E28767; Fri, 21 Jul 2017 16:29:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4EB52872B for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 21 Jul 2017 16:29:42 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 62E4626752C; Fri, 21 Jul 2017 18:29:40 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 839E2267533; Fri, 21 Jul 2017 18:29:39 +0200 (CEST) Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by alsa0.perex.cz (Postfix) with ESMTP id 260D3267528 for <alsa-devel@alsa-project.org>; Fri, 21 Jul 2017 18:29:35 +0200 (CEST) Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20170721162932epoutp04f5e8102d617c8b0a33810cc3994e8cf0~TZWIP2slF0053500535epoutp04H; Fri, 21 Jul 2017 16:29:32 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.42.55]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20170721162932epcas1p17d4995cdef9e4eb76b00a14e09e2fdcc~TZWH6Vu7h1259212592epcas1p1A; Fri, 21 Jul 2017 16:29:32 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id C5.18.06724.CEB22795; Sat, 22 Jul 2017 01:29:32 +0900 (KST) Received: from epsmgms2p1.samsung.com (unknown [182.195.42.79]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170721162931epcas1p3e72f1448e81b4f282f5495c9c6ae0d53~TZWHHEqgx0414104141epcas1p3f; Fri, 21 Jul 2017 16:29:31 +0000 (GMT) X-AuditID: b6c32a37-f79c96d000001a44-e8-59722bec56ef Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1.samsung.com (Symantec Messaging Gateway) with SMTP id 62.9E.05076.BEB22795; Sat, 22 Jul 2017 01:29:31 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OTG007Q58GZDW30@mmp1.samsung.com>; Sat, 22 Jul 2017 01:29:31 +0900 (KST) From: Sylwester Nawrocki <s.nawrocki@samsung.com> To: broonie@kernel.org, lgirdwood@gmail.com Date: Fri, 21 Jul 2017 18:29:20 +0200 Message-id: <1500654560-29516-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrAIsWRmVeSWpSXmKPExsWy7bCmnu4b7aJIg0M3BC2uXDzE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ifs3cxcnJICJhI3H71nBHCFpO4cG89G4gtJLCNUWLL 3ZAuRi4g+xejRPOlJ8wgCTYBQ4neo31gDSIC2hJzbnawgRQxC8xjlGhqfQzWLSzgKDF16nYW EJtFQFXi2p4NrCA2r4CbxM+NB5kgtslJnDw2mXUCI/cCRoZVjFypBcW56bnFRgWGmxiBgbjt sJb/DsYfZ6MPMQpwMCrx8BqwFEUKsSaWFVfmHmKU4GBWEuH9pw4U4k1JrKxKLcqPLyrNSS0+ xGgKtHIis5Rocj4wSvJK4g1NLI1MDMzMDI0MjM2UxHknBH6JEBJITyxJzU5NLUgtgulj4uCU amDUPJlb27F7ndn+qc/+qRv/4NkWI2nxU+kNx+Kiyv4471cMWZfinJbUHhPc673Tmlf1R9q7 2329MwW8aq4rfnn3Y9HPBUbv+pvz/SqNVauC+A98UOvdx+B5fmv3o9d9NUzGTavfhbmk1jYo n+Ccf27WCStx9xuvE1IeajvL/IjLmGj5M3rJ2jNKLMUZiYZazEXFiQCdNp3jWgIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170721162931epcas1p3e72f1448e81b4f282f5495c9c6ae0d53 X-Msg-Generator: CA X-Sender-IP: 182.195.42.79 X-Local-Sender: =?UTF-8?B?U3lsd2VzdGVyIE5hd3JvY2tpG1NSUE9MLUtlcm5lbCAoVFAp?= =?UTF-8?B?G+yCvOyEseyghOyekBtTZW5pb3IgU29mdHdhcmUgRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?U3lsd2VzdGVyIE5hd3JvY2tpG1NSUE9MLUtlcm5lbCAoVFAp?= =?UTF-8?B?G1NhbXN1bmcgRWxlY3Ryb25pY3MbU2VuaW9yIFNvZnR3YXJlIEVuZ2luZWVy?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 101P X-CMS-RootMailID: 20170721162931epcas1p3e72f1448e81b4f282f5495c9c6ae0d53 X-RootMTR: 20170721162931epcas1p3e72f1448e81b4f282f5495c9c6ae0d53 References: <CGME20170721162931epcas1p3e72f1448e81b4f282f5495c9c6ae0d53@epcas1p3.samsung.com> Cc: alsa-devel@alsa-project.org, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki <s.nawrocki@samsung.com>, krzk@kernel.org, b.zolnierkie@samsung.com Subject: [alsa-devel] [PATCH] ASoC: samsung: odroid: Fix EPLL frequency values X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/samsung/odroid.c b/sound/soc/samsung/odroid.c index 0c0b00e..0834319 100644 --- a/sound/soc/samsung/odroid.c +++ b/sound/soc/samsung/odroid.c @@ -42,17 +42,17 @@ static int odroid_card_hw_params(struct snd_pcm_substream *substream, switch (params_rate(params)) { case 32000: case 64000: - pll_freq = 131072000U; + pll_freq = 131072006U; break; case 44100: case 88200: case 176400: - pll_freq = 180633600U; + pll_freq = 180633609U; break; case 48000: case 96000: case 192000: - pll_freq = 196608000U; + pll_freq = 196608001U; break; default: return -EINVAL;
To prevent incorrect setting of the EPLL the clock frequency values are changed to exact values as possible to obtain on the EPLL output with given PLL coefficients. This patch is required after recent change of the EPLL rate table by patch "clk: samsung: exynos5420: The EPLL rate table corrections". Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> --- It would be good to apply this patch for 4.13-rc, I plan to get applied corresponding clk patch also to v4.13-rc. --- sound/soc/samsung/odroid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)