Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp538864ybe; Mon, 2 Sep 2019 05:42:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPqQMEWYBRbCCDWjckOk/DmVdJoVNyoF1qM+S8mpgR51QHjG9pen7LeFhQYKZKaLk2gRzE X-Received: by 2002:aa7:87d3:: with SMTP id i19mr20861873pfo.57.1567428137001; Mon, 02 Sep 2019 05:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567428136; cv=none; d=google.com; s=arc-20160816; b=S1xUXULeoedWoOlYZadir6zw3MF4YzO7QtF19YUD52msSlRaK8hKT25sadJMbTBBfO A1QqnzHPdJlEw/YnBY8U/jSHZSp2Qt7pNwsNIrM54/5+y+2l+rnRg0tM3+qyljwgeS6L liiKb0VNqwK1xzk7A/ORsxHIEmjjDF/z0jKJ55evmW1pdzUigLnlKSaw97kEIzmBapvX FXwi0M/WQedz4YySFAaBRtomC5NzcBtJ8LlYr3qZEDvcX53jyv8OanQG+yoiHKRUXvss XeQsJ9YIgq+dE6cvND6Seb0zoN18ZOrCiRGnmfCedJ4XUkMl/oZnRScV9MzniOWrOoR4 jxpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4kBJEx+Qu3mSPv+hNIjzoykytvR4h7p7UM0vTM6s1vA=; b=sxK5RpWYNPy5ybRtU2tbc3wqBP3mRYeO82DucvJEo0ZHkb1JMq999KzNwrRbbiYwvK gU6ZQrSJfifAVghfoPoeehwcAEqwUwkafvKvNpFXcobTPBqbBnhLSWpw810RQV6KAfPc LcCYSkgsxVQcREQ69HEVrcqnt1kiXnvzjaC2md1xuFZubQ9hLdA5Zhg/3nCWEXRXfM85 mFxXlhDaMKMwena8uke7WdTOF0lu+t8Rxw4YpGLgw/KdoxsAo30WKqhACTYvF0z83gCE 9O88kvlbPa0Kl1t8joxepoxf6zjT7wGK6ETB27GvZdXjxBB3Hw8vshqIFJfLokYu06XN dCJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=q8ijxkng; 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 x185si11639735pgb.161.2019.09.02.05.42.01; Mon, 02 Sep 2019 05:42:16 -0700 (PDT) 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=q8ijxkng; 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 S1730687AbfIBMjv (ORCPT + 99 others); Mon, 2 Sep 2019 08:39:51 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:47446 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730672AbfIBMjv (ORCPT ); Mon, 2 Sep 2019 08:39:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4kBJEx+Qu3mSPv+hNIjzoykytvR4h7p7UM0vTM6s1vA=; b=q8ijxkngdjzFHlHeGzQ+04Tbg S6qaZsvAE7t3yLIEKlaNgveLU8PEQG2luelC4qffbo8hYlHlt1e6e3nWdmNOq/bgn4pReBd87Yb+d TWBi2CoUsD2MmTmBG1rq+jWZbVkwekhCsmOh7OjmPp+5rvj2fNylXm1etnnxXI3aSpWq4=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=ypsilon.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i4lcX-0003GM-F8; Mon, 02 Sep 2019 12:39:45 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id B6FAE2742CCB; Mon, 2 Sep 2019 13:39:44 +0100 (BST) Date: Mon, 2 Sep 2019 13:39:44 +0100 From: Mark Brown To: Daniel Baluta Cc: festevam@gmail.com, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, shengjiu.wang@nxp.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, timur@kernel.org, gabrielcsmo@gmail.com, NXP Linux Team , Cosmin-Gabriel Samoila Subject: Re: [PATCH] ASoC: fsl_sai: Set SAI Channel Mode to Output Mode Message-ID: <20190902123944.GB5819@sirena.co.uk> References: <20190830225514.5283-1-daniel.baluta@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline In-Reply-To: <20190830225514.5283-1-daniel.baluta@nxp.com> X-Cookie: Lost ticket pays maximum rate. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Aug 31, 2019 at 01:55:14AM +0300, Daniel Baluta wrote: > Fix this by setting CHMOD to Output Mode so that pins will output zero > when slots are masked or channels are disabled. This patch seems to do this unconditionally. This is fine for configurations where the SoC is the only thing driving the bus but will mean that for TDM configurations where something else also drives some of the slots we'll end up with both devices driving simultaneously. The safest thing would be to set this only if TDM isn't configured. --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl1tDY8ACgkQJNaLcl1U h9B6eQf/fWHBjGPAP86B03a4INm+HF3NUTJW3RUX7OufxZ6nXwI99zy/47e5hK4r RrYrDlh5Ybe5Dl6gK1/4VrO/SFMg6PyOJjpjwAijXRjW3y3CqiZe5e9bhLVoIcrM zAERB9q0o82bPAsKxlCqkG69MKZrHnDPH7pBAXM2kPRyn6QXQwWV8qqE2Rpfkto2 ZprQEwsRlwatAPn4WfHBN7OsZy3BeVZqhT2VLD9GkF0zBdBhZEvO4opbj7cbQHdc Jdrw3AFvgUYHsjsNx+x1uVVy7DY1r/V2yh8ly8+WMn204eYDR8aKnm5oO0OpoN6o ibcFAnroXympSUaJvtWjiAzS0QBTBQ== =Wb+0 -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX--