From patchwork Fri Mar 9 17:48:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 10271459 Return-Path: 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 72C0F6016D for ; Fri, 9 Mar 2018 17:51:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D9B829973 for ; Fri, 9 Mar 2018 17:51:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5231D29D74; Fri, 9 Mar 2018 17:51:21 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D19BF29973 for ; Fri, 9 Mar 2018 17:51:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932660AbeCIRuW (ORCPT ); Fri, 9 Mar 2018 12:50:22 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:57187 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932617AbeCIRuS (ORCPT ); Fri, 9 Mar 2018 12:50:18 -0500 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20180309175016epoutp042e54b17c304be72f89b9704094e1750d~aUdjtPe5e1164711647epoutp045; Fri, 9 Mar 2018 17:50:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20180309175016epoutp042e54b17c304be72f89b9704094e1750d~aUdjtPe5e1164711647epoutp045 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520617816; bh=hJUKaBNWyRUSx06D2UU1IxjODY+6dIttHZqqH89fYPs=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=s67+KOSEQ5lex7fwRwCrJTXqH2fmreBkIjWcYdF43Py/g8b/baSYDRphF7s7WCrnh vJ38uqGILmdMvG2ryw1m6d8ND/cnQ2/XG8EWu40nqT3/HgDD2H0u2sbPM+0UcgQqeR TnkesqYn4DtUA2WgMERznz/L4pTIlX83OLLWQ+Nk= Received: from epsmges1p3.samsung.com (unknown [182.195.42.55]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180309175015epcas1p423264c9354efa6d41210a37d512e710c~aUdjM560y2262222622epcas1p4z; Fri, 9 Mar 2018 17:50:15 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 6D.F7.04137.759C2AA5; Sat, 10 Mar 2018 02:50:15 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20180309175015epcas1p2ef43a122b650a7a420320ca619124dc6~aUdi1xXPJ2477224772epcas1p2f; Fri, 9 Mar 2018 17:50:15 +0000 (GMT) X-AuditID: b6c32a37-433ff70000001029-a1-5aa2c957d36f Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id A5.16.03826.759C2AA5; Sat, 10 Mar 2018 02:50:15 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P5C0033645R9230@mmp2.samsung.com>; Sat, 10 Mar 2018 02:50:15 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Cc: lgirdwood@gmail.com, krzk@kernel.org, sbkim73@samsung.com, alsa-devel@alsa-project.org, robh+dt@kernel.org, devicetree@vger.kernel.org, javierm@redhat.com, linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, Sylwester Nawrocki Subject: [PATCH v2 6/7] ASoC: samsung: Drop uneeded RCLKSRC setting in the Snow driver Date: Fri, 09 Mar 2018 18:48:57 +0100 Message-id: <20180309174858.24017-6-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180309174858.24017-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEIsWRmVeSWpSXmKPExsWy7bCmnm74yUVRBlM6dCyuXDzEZLFxxnpW i6kPn7BZzD9yjtVi4bTljBbnz29gt/h2pYPJYsb5fUwWa4/cZbdo3XuE3eLwm3ZWi4srvjA5 8Hhs+NzE5rFz1l12j02rOtk83u+7yubRt2UVo8fnTXIBbFFcNimpOZllqUX6dglcGQdfzmUt eMRW8XvfTuYGxj2sXYycHBICJhJL/kxi6WLk4hAS2MEo8fpHDzuE851R4vKibWwwVTPPv2eG SGxglFj86hmU84tRYsWUpWBVbAKGEr1H+xhBbBEBMYnbczrBipgFVjFJrLq/FqxIWCBC4tCJ i2DLWQRUJa5sPMgEYvMKWEusmb2UHWKdvMT7BffBBnEK2Ej0tjxkBBkkIbCDTeLg3k6oIheJ 7Y/3Qn0hLPHq+BagOAeQLS1x6agtRLhaorOtix2it4VR4s+0S1D/WEscPg5xBLMAn8S7rz2s EL28Eh1tQhAlHhLNM9cyQ9iOEtvezmcBsYUE+hklbh+0msAotYCRYRWjWGpBcW56arFhgbFe cWJucWleul5yfu4mRnBMa5nvYNxwzucQowAHoxIPr8CMRVFCrIllxZW5hxglOJiVRHjf1wCF eFMSK6tSi/Lji0pzUosPMUpzsCiJ8wYEuEQJCaQnlqRmp6YWpBbBZJk4OKUaGHvuCW3JZbfy WfriioJkW1eEmePzZ6eXNWiKtT6/KDm9as5DztSJIQ5rRBLWKTmzcEdfdsuZbpYspv1Z/etN lswF3tNiL31OeVRuVbkvpsVZozbxwDHOoJgF3HuexIrsm7/5W2bdwubDpzM1younv7h5R6Ar zqX2dkBuYaax3zJlh403S8rblViKMxINtZiLihMBskMPZOUCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFLMWRmVeSWpSXmKPExsVy+t9jQd3wk4uiDDZ9EbC4cvEQk8XGGetZ LaY+fMJmMf/IOVaLhdOWM1qcP7+B3eLblQ4mixnn9zFZrD1yl92ide8RdovDb9pZLS6u+MLk wOOx4XMTm8fOWXfZPTat6mTzeL/vKptH35ZVjB6fN8kFsEVx2aSk5mSWpRbp2yVwZRx8OZe1 4BFbxe99O5kbGPewdjFyckgImEjMPP+euYuRi0NIYB2jxLXjP9ghnF+MEsc+vmIDqWITMJTo PdrHCGKLCIhJ3J7TCdbBLLCKSaJh4hOwUcICERIrGv6ANbAIqEpc2XiQCcTmFbCWWDN7KTvE OnmJ9wvugw3iFLCR6G15CGRzAG2zlth2LnoCI88CRoZVjJKpBcW56bnFRgWGeanlesWJucWl eel6yfm5mxiBIbjtsFbfDsb7S+IPMQpwMCrx8ArMWBQlxJpYVlyZe4hRgoNZSYT3fQ1QiDcl sbIqtSg/vqg0J7X4EKM0B4uSOO/tvGORQgLpiSWp2ampBalFMFkmDk6pBsYwRwHVEyvP+dct O9ERr6fyUa75dPDxN58aVLs3L1ryrmPS3L2+8ikO5v8m721icE7dsEZNct0P4bBjq3Mm3f97 UyCmeoJ46MTkEjke7zv/Gwsl5RyeBy0SrUswneWf8PKn2ocYfptkm+88P6dHGLx7GjDT5GiK dKq3n9Bllbtf/nxMV69czaLEUpyRaKjFXFScCAC/VrlTPQIAAA== X-CMS-MailID: 20180309175015epcas1p2ef43a122b650a7a420320ca619124dc6 X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180309175015epcas1p2ef43a122b650a7a420320ca619124dc6 X-RootMTR: 20180309175015epcas1p2ef43a122b650a7a420320ca619124dc6 References: <20180309174858.24017-1-s.nawrocki@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The RCLKSRC mux input 0 is a default configuration after reset, so there is no need for this explicit snd_soc_dai_set_sysclk() call. Also, this static mux clock configuration can be specified in DT. Signed-off-by: Sylwester Nawrocki Acked-by: Krzysztof Kozlowski --- Changes since v1: - none. --- sound/soc/samsung/snow.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c index d8ac907bbb0d..fc62110f500f 100644 --- a/sound/soc/samsung/snow.c +++ b/sound/soc/samsung/snow.c @@ -50,11 +50,6 @@ static int snow_late_probe(struct snd_soc_card *card) if (ret < 0) return ret; - /* Select I2S Bus clock to set RCLK and BCLK */ - ret = snd_soc_dai_set_sysclk(cpu_dai, SAMSUNG_I2S_RCLKSRC_0, - 0, SND_SOC_CLOCK_IN); - if (ret < 0) - return ret; return 0; }