Message ID | E1eK03e-00061f-6a@debutante |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp4224660edl; Wed, 29 Nov 2017 02:59:04 -0800 (PST) X-Google-Smtp-Source: AGs4zMaR36aiHFwgnlqfPpTDSBDcutkPRkOIhcD0O0fhbwaFyNceLdHadQ/taEFy+zgNuYrp0U31 X-Received: by 10.28.60.8 with SMTP id j8mr2010768wma.136.1511953144905; Wed, 29 Nov 2017 02:59:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511953144; cv=none; d=google.com; s=arc-20160816; b=W6OiD4XLAi7VOS+yt78P0I81rfvKiWqDviscdyVVdYwVwtpWwanKoRTFvhNSAeGRDI 3dp2j8+iB2uT4j9Zu5H8IgBeO6CDtUTTHptkVwx8x5s9eQuLOohVyGCNubH+s5ZUzdSv +i3DS5BPRXeGA5799sbxxc2pmbzED2b2K0+XYZdtpKGgT39bdzY0bzCrKtUKSCm8IFtu 1advbdXGT9hzKu/kwKuAHiwdl+KM/+Jg0PL1ievCWs+4UALELF/EJ8CxFrLCBxK9u8lb uuE7XIH2zCd2ru3BBMoLkzEujIf0+PKXGjNM1fX3aJ7Vouts17tCbUU+ZiHKVi6/1G76 x8Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=1az8GG9Qr6ByKndf8tTRDRPF1Waqi8FSkX28+wQJiiY=; b=lSbSw57oe7Lhj1J2D5grOcMF+s+mvlB9w4Y9JndNcxl/UUxohNPV4A852mTn2nuLQw ssUCiqVG/WRD5YWgthv5iRpluwfNTXr+xU0/TndXbCfC/C2oi3zPlZk/9xLH+wrHuFi4 TzRcob80OQYApBnqmeVzwfjyVc6KaWAE4MKVqAWfyGhLaSg60nQjhqiycB9BpRpKkxMO kOls5aqIG4GOpCNfsHhj6V5j03x+dkHEadM77Ybd6XiiGI8lCuG7CNXzQWgDFuNynueA T05Wyw5fJtRxJIMMSNLUEZ5RXxV5+tEMv2eHFTkXaAgh89RiVohzv5BHxEsDY5pmwuoz RGfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=WIJsimvK; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id v83si1187606wmv.80.2017.11.29.02.59.04; Wed, 29 Nov 2017 02:59:04 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=WIJsimvK; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id ABBC62678C8; Wed, 29 Nov 2017 11:58:45 +0100 (CET) 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 8AE7B2678C3; Wed, 29 Nov 2017 11:58:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 4AAA8266E30 for <alsa-devel@alsa-project.org>; Wed, 29 Nov 2017 11:57:46 +0100 (CET) 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=bxqREgzbELPr/sTi9wW/gNtssbGKeHU4Z/y/h0ejXH4=; b=WIJsimvKL2fN 1VUgHxTFTkebOJVUKOutCUW7mHzc0bG9fMLKS7msgT6PiGBuxN938JI+lYWF4yV+4ZGf5Z5FSGYXV gR5y0Ad1TWLetLQfwQIuy8uTUfYmzk+GZ8n9SYy3BZN1XracU1uMatafpdfnJNNxvd2YECr7bHIK/ XfcGs=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <broonie@sirena.org.uk>) id 1eK03e-0001IF-Jb; Wed, 29 Nov 2017 10:57:38 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from <broonie@sirena.org.uk>) id 1eK03e-00061f-6a; Wed, 29 Nov 2017 10:57:38 +0000 From: Mark Brown <broonie@kernel.org> To: Maciej S. Szmigiero <mail@maciej.szmigiero.name> In-Reply-To: <5c2325bd-3e7b-0026-4c1a-65f32737a74a@maciej.szmigiero.name> Message-Id: <E1eK03e-00061f-6a@debutante> Date: Wed, 29 Nov 2017 10:57:38 +0000 Cc: alsa-devel@alsa-project.org, Xiubo Li <Xiubo.Lee@gmail.com>, Liam Girdwood <lgirdwood@gmail.com>, Takashi Iwai <tiwai@suse.com>, linux-kernel <linux-kernel@vger.kernel.org>, Timur Tabi <timur@tabi.org>, Nicolin Chen <nicoleotsuka@gmail.com>, Mark Brown <broonie@kernel.org>, Fabio Estevam <fabio.estevam@nxp.com>, linuxppc-dev@lists.ozlabs.org Subject: [alsa-devel] Applied "ASoC: fsl_ssi: call _fsl_ssi_set_dai_fmt() just once in AC'97 mode" to the asoc tree 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 |
Series |
Applied "ASoC: fsl_ssi: call _fsl_ssi_set_dai_fmt() just once in AC'97 mode" to the asoc tree
|
expand
|
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 9e97a0529f37..939d1b8894dc 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1079,6 +1079,9 @@ static int fsl_ssi_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) { struct fsl_ssi_private *ssi_private = snd_soc_dai_get_drvdata(cpu_dai); + if (fsl_ssi_is_ac97(ssi_private)) + return 0; + return _fsl_ssi_set_dai_fmt(cpu_dai->dev, ssi_private, fmt); }