Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3116721ybl; Mon, 19 Aug 2019 12:29:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyy59cw5QU27w/NcEGXuUXHvhR6CmTp4rdIxBW/DpvnQBX8Ja4ABOcmoIxxsKbDweg+FxL X-Received: by 2002:a17:90a:de01:: with SMTP id m1mr18351515pjv.43.1566242971095; Mon, 19 Aug 2019 12:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566242971; cv=none; d=google.com; s=arc-20160816; b=RzUQX5OOqCUODBphBGerZ0XJ+oz9OewhZ8Y9BV8Fs8osbVno/OY6UOg+/VxdMeAZdD Vm6d4FHaB+DpfoNNanGqa42/TR23XILMHd/Bup5eJ3UO1KvD6v+qfZzo6cTpzRxVOtDW yzAVUlyKwr3StSAdB+0kSA4AytOK+nahWpAGSqxN0QHdh0wsW3Geuq1T5JhNDtcn4eFQ QDeVgKxJtkpeae8c2WNwFzsvvH4hlSaax1WNMQbNQUiHHmjNURszMMdhlc/LfbedikTz HN/7iiQLDeoOWL6k7Lb9J2vJrHbX03lgK0sBpLpNx6uQYH1Hk8oCa60KnOawAaRbqFaT o1Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=z0Oc0th3O3bvCseAmo+vDgIP+mI47GsWrbospIW59ok=; b=mXvGSjHD+1tPC4xyBbTVcHuV/WSxkKkKI8HVQ+QUnBwYJJzaxDgH0noizStQJNz0bY HTL9ltFO1KBD9e0VCYWN2WgeNgoPXa4QIVMZ530M4nQjN6EuGwm2Gy5beHSbcZdYoj9q prV2OV2ujC8kmlRCZ9UezyPY0NBX3jSURvP+sKN/SIFdfHRpV1PDJT+3iGbkxKMWtwBe cFfTcZi1YrrPQ+FUqjEhsElABoKUPF923yeJDTCCvPrMjq7VyeH/cDYVGVDTZ33iN4JR QRAWH+hpy7nAq8T6a7+DW/3b+ODmucM8D3IlY/PutrYmqemIUBY1Eo4NDDtNzC3O6qSn lIbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ro3TjRL9; 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=pass (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 r14si10553580pgi.513.2019.08.19.12.29.15; Mon, 19 Aug 2019 12:29:31 -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=pass header.i=@kernel.org header.s=default header.b=Ro3TjRL9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728659AbfHST0J (ORCPT + 99 others); Mon, 19 Aug 2019 15:26:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:41774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728636AbfHST0E (ORCPT ); Mon, 19 Aug 2019 15:26:04 -0400 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E697C22CEC; Mon, 19 Aug 2019 19:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566242763; bh=ZcwqNyfFoQkpLOtyAx1vkzpHL07l3AQIIP2/dU2W0Js=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ro3TjRL988ozIKOXKkjU8yUL5lQAUbfUycGSTVVTf6h5MBF8TsYAQpFBx0UMDzR2y YyDwjxBoXzoBstxyYuvd/KBRyMTqwEtO9eXMp6hKEuuVwXLcZ0tp8E/34FcsM39wfM GEqz6ItuxnPTl7j5UngkpL24XANC1cNkP6ifHI2s= From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , lgirdwood@gmail.com, broonie@kernel.org Cc: alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, codekipper@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH 10/21] ASoC: sun4i-i2s: RX and TX counter registers are swapped Date: Mon, 19 Aug 2019 21:25:17 +0200 Message-Id: <8b26477560ad5fd8f69e037b167c5e61de5c26a3.1566242458.git-series.maxime.ripard@bootlin.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Ripard The RX and TX counters registers offset have been swapped, fix that. Fixes: fa7c0d13cb26 ("ASoC: sunxi: Add Allwinner A10 Digital Audio driver") Signed-off-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 8d49ee7d2a95..08fc04ad3585 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -76,8 +76,8 @@ #define SUN4I_I2S_CLK_DIV_MCLK_MASK GENMASK(3, 0) #define SUN4I_I2S_CLK_DIV_MCLK(mclk) ((mclk) << 0) -#define SUN4I_I2S_RX_CNT_REG 0x28 -#define SUN4I_I2S_TX_CNT_REG 0x2c +#define SUN4I_I2S_TX_CNT_REG 0x28 +#define SUN4I_I2S_RX_CNT_REG 0x2c #define SUN4I_I2S_TX_CHAN_SEL_REG 0x30 #define SUN4I_I2S_CHAN_SEL_MASK GENMASK(2, 0) -- git-series 0.9.1