From patchwork Sun Aug 26 08:45:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ??? X-Patchwork-Id: 1374621 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 1B7AD3FC71 for ; Sun, 26 Aug 2012 08:49:33 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T5YTs-0002rz-Ig; Sun, 26 Aug 2012 08:46:04 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T5YTn-0002rD-Kz for linux-arm-kernel@lists.infradead.org; Sun, 26 Aug 2012 08:46:01 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M9C00FK4TOJ5XA0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Sun, 26 Aug 2012 17:45:55 +0900 (KST) X-AuditID: cbfee61a-b7fc66d0000043b7-6c-5039e242f467 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id AA.9C.17335.242E9305; Sun, 26 Aug 2012 17:45:55 +0900 (KST) Received: from DOSANGSU4UP02 ([12.23.118.226]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M9C00AOKTOIHM80@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Sun, 26 Aug 2012 17:45:54 +0900 (KST) From: =?ks_c_5601-1987?B?udq787z2?= To: alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] ASoC: SAMSUNG: Add SND_SOC_DAIFMT_CONT option for snd_soc_set_fmt() Date: Sun, 26 Aug 2012 17:45:54 +0900 Message-id: <003101cd8367$3476e650$9d64b2f0$@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac2DZxIEjcXxPsThSh6aKF9+57n5Kg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGLMWRmVeSWpSXmKPExsVy+t9jQV3nR5YBBi8eMllsenyN1YHRY/OS +gDGKC6blNSczLLUIn27BK6M1m23mAuusFVs6v7P3sB4nLWLkZNDQsBE4vqpQ8wQtpjEhXvr 2boYuTiEBKYzShzf2sYO4Sxnkvi1rBGog4ODTcBeYutKRpAGEYEsiUPff7GA1DALNDNK/Dg4 hR0kISwQJjF75xewDSwCqhINP7+DNfAKWEo8n3SeCcIWlPgx+R4LiM0sYCDxflYfK4QtL7F5 zVuoixQkdpx9DbVMT+LUxkZ2iBoRiX0v3jFOYBSYhWTULCSjZiEZNQtJywJGllWMoqkFyQXF Sem5hnrFibnFpXnpesn5uZsYwaH5TGoH48oGi0OMAhyMSjy8AqWWAUKsiWXFlbmHGCU4mJVE eL/vBwrxpiRWVqUW5ccXleakFh9ilOZgURLn5e8zDBASSE8sSc1OTS1ILYLJMnFwSjUwpj27 mbf9r5GCVvX21B1bN/ZWv7/8nil2SuRP8397j97f4HGlY596XLZEI7eutN2Ss8zyV3quaGS+ Pl7H/mGjzzLtjey2NVlzT19hfW6ekPvksvlqn9DLDStXr3r6/utp9rbXW3q3PzJnWvro49Vl keVpz8WXG9f396zMbQlSzFhXcaBAumn/XCWW4oxEQy3mouJEAPQ6Y0VJAgAA X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.0 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.2 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 HDRS_LCASE Odd capitalization of message header Cc: sbkim73@samsung.com, Kukjin Kim , broonie@opensource.wolfsonmicro.com, lrg@ti.com, ben-linux@fluff.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org SND_SOC_DAIFMT_CONT option is now needed because of below commit: ASoC: Allow DAI formats to be specified in the dai_link Otherwise, s3c_pcm_set_fmt() returns -EINVAL. Signed-off-by: Sangsu Park --- sound/soc/samsung/smdk_wm8994pcm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/soc/samsung/smdk_wm8994pcm.c b/sound/soc/samsung/smdk_wm8994pcm.c index 77ecba9..cb88cbc 100644 --- a/sound/soc/samsung/smdk_wm8994pcm.c +++ b/sound/soc/samsung/smdk_wm8994pcm.c @@ -77,6 +77,7 @@ static int smdk_wm8994_pcm_hw_params(struct snd_pcm_substream *substream, /* Set the cpu DAI configuration */ ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_DSP_B + | SND_SOC_DAIFMT_CONT | SND_SOC_DAIFMT_IB_NF | SND_SOC_DAIFMT_CBS_CFS); if (ret < 0)