Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2967059ybi; Sun, 26 May 2019 11:28:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3n1YtzDlmhZWjqvuDZvSwyeQSzrqXJNKMARwn3hF4muNkg/0W6PbOYYD8RjCdOS9JEd9e X-Received: by 2002:a63:ce57:: with SMTP id r23mr501896pgi.367.1558895320223; Sun, 26 May 2019 11:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558895320; cv=none; d=google.com; s=arc-20160816; b=FiPKX9UJFz8Fx8oQlHGl1IoLALWSYNlq4VXG7Yie0U4LIMAJBoH23Gtohll4R0u1t4 y9JuLgDpUQZCEV1ZbjEaPiB8ie6lLwMOVTdhQgT59zuxQ6nuYxuNPnKDKam68v4pdsj1 Drw7h265s67m6/QlO9ASE7xSKdEW6+TSMJSykQPUls3Aas3XXKUjvxvNio6a8ADK+bQh ehrVrk3DN6TOkpYQ0DntjMLV+/2OdA/xR09F9mHIqOqNRALZpw/BEnxKOkQJiIvYPvrG 2qFiIAH/lKoIxVdURujdf/tanX2/+bf84jR2PCLVeq+TCoctz9urG2qnxZiQVVoWCKdn QgCQ== 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; bh=z6Kb/jusomC0te+JfEhLUPY0ZL1MmF321b4mccnRR0M=; b=dIHqcMaSMmJWBTKAHGj/y4HQ7b9akU6AgtTuBuC1r8L9SS2i3NX4H86pLg6j+sNJSA 65kEk4pNzk9yH9AIMKAPHfTC2vx1O6EgNEpOE7bzdQAU4aR3xcnqACPM0jvS9dIRvqgF IPumEKaUNi4qDMk4rzRfKEbjVqChlSDa3S4QPidx/HbcrxYxWDWk9S7q36L4IGQjWjoG /C2HAttrgM91S+BLXvukwHiBEMs0h9VzitnUNXcUI7p+HPwJKeK0e9rFU1NmhqeMXzZt oUzl3r7KD88w4IsMf9D+plZW4jggxn9F389fWCbjjfySQABK7wWlU5gE+N2mk6ahzRF/ V8dw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l3si14789884pgp.179.2019.05.26.11.28.24; Sun, 26 May 2019 11:28:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728082AbfEZSYV (ORCPT + 99 others); Sun, 26 May 2019 14:24:21 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:51667 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727988AbfEZSYV (ORCPT ); Sun, 26 May 2019 14:24:21 -0400 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (Authenticated sender: maxime.ripard@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 5B9BA200009; Sun, 26 May 2019 18:24:11 +0000 (UTC) Date: Sun, 26 May 2019 20:24:10 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Chen-Yu Tsai , Jaroslav Kysela , Takashi Iwai , Jagan Teki , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/7] ASoC: sun4i-spdif: Add TX fifo bit flush quirks Message-ID: <20190526182410.soqb6bne6w66d5j6@flea> References: <20190525162323.20216-1-peron.clem@gmail.com> <20190525162323.20216-4-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ncwtv45aqoqucxoa" Content-Disposition: inline In-Reply-To: <20190525162323.20216-4-peron.clem@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ncwtv45aqoqucxoa Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 25, 2019 at 06:23:19PM +0200, Cl=E9ment P=E9ron wrote: > Allwinner H6 has a different bit to flush the TX FIFO. > > Add a quirks to prepare introduction of H6 SoC. > > Signed-off-by: Cl=E9ment P=E9ron > --- > sound/soc/sunxi/sun4i-spdif.c | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c > index b6c66a62e915..8317bbee0712 100644 > --- a/sound/soc/sunxi/sun4i-spdif.c > +++ b/sound/soc/sunxi/sun4i-spdif.c > @@ -166,10 +166,12 @@ > * > * @reg_dac_tx_data: TX FIFO offset for DMA config. > * @has_reset: SoC needs reset deasserted. > + * @reg_fctl_ftx: TX FIFO flush bitmask. It's a bit weird to use the same prefix for a register offset (reg_dac_tx_data) and a value (reg_fctl_ftx). Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ncwtv45aqoqucxoa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXOrZygAKCRDj7w1vZxhR xX2iAP4vmqh1nSGLNbrJR8v0vBh2+l0fQX6kqx83+rzmZQkZAwEA9wYOzTE6aQsj ncPb9kzAxB6nwlo5NuAAcwZBIUQ9rA4= =uFpz -----END PGP SIGNATURE----- --ncwtv45aqoqucxoa--