ASoC: sun4i-i2s: Add offset to RX channel select
authorMarcus Cooper <codekipper@gmail.com>
Mon, 3 Jun 2019 17:47:28 +0000 (19:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:53:35 +0000 (09:53 +0200)
commit74929087384fef3bf67dad97b990b1a877c304a2
tree70d8386ea693205ef19835ea5ecc7b2954014dfb
parent32475634e8a8e3bd6385602dfffd6de79ab5c123
ASoC: sun4i-i2s: Add offset to RX channel select

[ Upstream commit f9927000cb35f250051f0f1878db12ee2626eea1 ]

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 <codekipper@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sunxi/sun4i-i2s.c