Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5527384ybi; Tue, 4 Jun 2019 08:00:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRfxkddTVitcFaq25/gXVwvbnDhtv999VlWniR/0V41cY3zVxtqe4WOh8R7AfljFLA9qDJ X-Received: by 2002:a17:902:42a5:: with SMTP id h34mr36593884pld.178.1559660452898; Tue, 04 Jun 2019 08:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559660452; cv=none; d=google.com; s=arc-20160816; b=d7QfptO+DvV1w6AfALq64vpptYLkJXXnDFa6NoDLirKuIxt5+EMrsSYUu3ekuEraQd sCVlHrkgpjcnF6r4Cb3iZYWCZX6tYvxLNNrTdHSiHiTZ1pr+RTzh/domzm5Bdhbjg1Bs U4de589BVD7fekRNtLQN7/IGqkCbBgdyAcaB5xqx0iBCIYEBVzWhstfI0HiACqyIi6VS +9Qwc7ijjIf5RLc6zIjaXfDekEeIQL1Av7NmNfv8uYRxMZQFl4/E8wtFdDPVRIZK0Qj6 XpptES9dflCKoO9kvY+8Q+11xo+g4/pyfwYKr0WUQrQ81ZO6F+gEdl4C37eD5Iq0A+uD Q4ow== 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=3fMg2snLMaK3DY6bsSoeVywpNNwk9adJU5UweamOHes=; b=KxiKlJ9dKKK19tk5uPfpbaAqX4k+e8IsgFDJVqzuO8IijfpreYf6+ogiyaWX0kiXFc FaovaWpPUFV+ewoBN+088JAYLeRs0qHy7wS7KYvW7yAJMxxnCwq7nvjselpLTxASMVC8 2ubPdA9QTKtruOSd7ZSOOxdLOSQWtW8rqZ3SnbmEojedAy3N5F3hvtZtABVRXcnc40KQ p2MVt05TUM1SGweOqAvuc4ngnXuPC+OXMqI4BxccOhYODjtHmczMM2O71z2erfxUVbO/ MVXSHZWDSont0f+U/ShifYbSbWgq+vBumas/J2AhILaaQemlkZnyU9sqB/o9MfIwcBQz Qzng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=jafoolg+; 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 g5si8967225pgb.133.2019.06.04.08.00.32; Tue, 04 Jun 2019 08:00:52 -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=jafoolg+; 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 S1727831AbfFDO7I (ORCPT + 99 others); Tue, 4 Jun 2019 10:59:08 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:48664 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727287AbfFDO7I (ORCPT ); Tue, 4 Jun 2019 10:59:08 -0400 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=3fMg2snLMaK3DY6bsSoeVywpNNwk9adJU5UweamOHes=; b=jafoolg+yknl L7102yJp+Wua6W3SRTJPgRM7Dzke0Rdb3SDkl5fh+yBSdkgT6urtekcv13Hy3Bin8D+b8LPHovM41 rSevjtXij3ksr1qf7S916N6CRH/vkKRNMxkzugc6fLgYappul757aAzaq29xhdQJ6NsJtpGqFe8+m ppQpQ=; Received: from [2001:470:1f1d:6b5:7e7a:91ff:fede:4a45] (helo=finisterre.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hYAtt-0006EI-PR; Tue, 04 Jun 2019 14:58:57 +0000 Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id F07A6440046; Tue, 4 Jun 2019 15:58:56 +0100 (BST) From: Mark Brown To: Marcus Cooper Cc: alsa-devel@alsa-project.org, be17068@iperbole.bo.it, broonie@kernel.org, Chen-Yu Tsai , lgirdwood@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Mark Brown , maxime.ripard@free-electrons.com, Maxime Ripard , wens@csie.org Subject: Applied "ASoC: sun4i-i2s: Add offset to RX channel select" to the asoc tree In-Reply-To: <20190603174735.21002-3-codekipper@gmail.com> X-Patchwork-Hint: ignore Message-Id: <20190604145856.F07A6440046@finisterre.sirena.org.uk> Date: Tue, 4 Jun 2019 15:58:56 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: sun4i-i2s: Add offset to RX channel select has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.2 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 f9927000cb35f250051f0f1878db12ee2626eea1 Mon Sep 17 00:00:00 2001 From: Marcus Cooper Date: Mon, 3 Jun 2019 19:47:28 +0200 Subject: [PATCH] ASoC: sun4i-i2s: Add offset to RX channel select Whilst testing the capture functionality of the i2s on the newer SoCs it was noticed that the recording was somewhat distorted. This was due to the offset not being set correctly on the receiver side. Signed-off-by: Marcus Cooper Acked-by: Maxime Ripard Acked-by: Chen-Yu Tsai Signed-off-by: Mark Brown --- sound/soc/sunxi/sun4i-i2s.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 8162e107e50b..bc128e2a6096 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -460,6 +460,10 @@ static int sun4i_i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) regmap_update_bits(i2s->regmap, SUN8I_I2S_TX_CHAN_SEL_REG, SUN8I_I2S_TX_CHAN_OFFSET_MASK, SUN8I_I2S_TX_CHAN_OFFSET(offset)); + + regmap_update_bits(i2s->regmap, SUN8I_I2S_RX_CHAN_SEL_REG, + SUN8I_I2S_TX_CHAN_OFFSET_MASK, + SUN8I_I2S_TX_CHAN_OFFSET(offset)); } regmap_field_write(i2s->field_fmt_mode, val); -- 2.20.1