Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1253582imu; Wed, 16 Jan 2019 15:45:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN7IzGDet4O5eVMvgjwXX6MjzD3k+mOB+qsxrQFwk3PhrMd/MZjSZCvlpgdHHkqFu9A2S6XO X-Received: by 2002:a63:235f:: with SMTP id u31mr11233641pgm.122.1547682339998; Wed, 16 Jan 2019 15:45:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547682339; cv=none; d=google.com; s=arc-20160816; b=m4nFxZU5LulR2Mr9Kv0g8jhIgbs+G5HH6EeHm3scQFPOE8uFKSMBvYCZXD01L7dqKN bTIsxrRMsftVDi7oePBfnPm8EVd2CIqP5FX57gv5V9jfcc6YRhXZpJTGH58E/lbwGEqJ ro/Rmziytr7g1pR2odR1r5TlMaqrrFWjApSxL1BQCC/znUcfhSW+8Qt3kQhBbJC5TsgP QxPx7bcs59iK+gPl4QnXTVF2sas6+XELGLk6lvEzuOaAIMMaDT8oXB7M39A/ZMy5RdPf t2uPlz4HlVx2oDYx+RA+IfOPzYSqt5r7Fmx9zJKdmzy7MPBIe0leiUROQzzZLStPuyId N/Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=oGstHByNYvXdISvva2ed34wo98vsqou08mH4dzCEedQ=; b=shIigHzWFWgoTqTV29NvL8YHZzPeZAfUxSxgcFsFGsQXoZ6yoKqOhQ0yUCijMtQ4XZ mj0RhELJVKY9wvsqo4qj9UqxVo7QX1vyfTtnkmnIFRzRB9G540qA7ck2rRmBAd7MfUo7 y6PvG75XDJW4rE2fKbS99i9uUkDBfdz7AsLc0B0rUvB7C62bw3YNk/BTaLkIBVi/pt8z X/G1GAvmPCSgFkDf2VyByGxFB1mSAm20wJ61OQK05B0FH3VftOG3TSxr7/mII00Hhq+/ MiG833gxDnL/N1GQU7sPXkki0/JgP4ghtqBcsNCQt4HeDMYVQt3f+Y3LYjllb/zX+r3q N1+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=eG+bOlUH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w185si6355017pgb.588.2019.01.16.15.45.24; Wed, 16 Jan 2019 15:45:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=eG+bOlUH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728084AbfAPSHA (ORCPT + 99 others); Wed, 16 Jan 2019 13:07:00 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:55366 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727818AbfAPSG7 (ORCPT ); Wed, 16 Jan 2019 13:06:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=oGstHByNYvXdISvva2ed34wo98vsqou08mH4dzCEedQ=; b=eG+bOlUH+mD/ l60aihAVHrz3fp/vx5wVX5FqrjW0qjNEjkxW6AlzmwYsIOdvsu2fxhxPblrd9/KtZeNPyBtUczyM6 caAPJ3h+vhslpZRRXjlCMnVI1HPevyiUbE+uMm8S7/pXX731f/89fZs+HlOFppBjgDSWKnStfOIb4 SkgJs=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gjpaX-0002SR-VP; Wed, 16 Jan 2019 18:06:54 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 563621126FFD; Wed, 16 Jan 2019 18:06:53 +0000 (GMT) From: Mark Brown To: Cheng-Yi Chiang Cc: Mark Brown , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, tzungbi@chromium.org, Mark Brown , Rohit kumar , dgreid@chromium.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: sdm845: Set DAI format for dmic codec" to the asoc tree In-Reply-To: <20190115084159.135113-1-cychiang@chromium.org> X-Patchwork-Hint: ignore Message-Id: <20190116180653.563621126FFD@debutante.sirena.org.uk> Date: Wed, 16 Jan 2019 18:06:53 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: sdm845: Set DAI format for dmic codec has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 9019ab102fe8d741f873e6f630fb7aa74c38818a Mon Sep 17 00:00:00 2001 From: Cheng-Yi Chiang Date: Tue, 15 Jan 2019 16:41:59 +0800 Subject: [PATCH] ASoC: sdm845: Set DAI format for dmic codec Set codec DAI format for dmic codec in startup. Signed-off-by: Cheng-Yi Chiang Signed-off-by: Mark Brown --- sound/soc/qcom/sdm845.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index 6f66a58e23ca..882f52ed8231 100644 --- a/sound/soc/qcom/sdm845.c +++ b/sound/soc/qcom/sdm845.c @@ -248,12 +248,14 @@ static int sdm845_snd_startup(struct snd_pcm_substream *substream) break; case SECONDARY_MI2S_TX: + codec_dai_fmt |= SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_I2S; if (++(data->sec_mi2s_clk_count) == 1) { snd_soc_dai_set_sysclk(cpu_dai, Q6AFE_LPASS_CLK_ID_SEC_MI2S_IBIT, MI2S_BCLK_RATE, SNDRV_PCM_STREAM_CAPTURE); } snd_soc_dai_set_fmt(cpu_dai, fmt); + snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt); break; case QUATERNARY_TDM_RX_0: -- 2.20.1