ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
authorPaul Cercueil <paul@crapouillou.net>
Fri, 6 Mar 2020 22:29:27 +0000 (23:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 08:34:33 +0000 (10:34 +0200)
commit3c97c943d3b784058cbd17ed49a1f863e925bfee
tree8b8eaadcdc6f49229f39c5e8a0b9e9b543f19683
parentbbe3eda9703b0a9607add7648263bd68cd16bcfa
ASoC: jz4740-i2s: Fix divider written at incorrect offset in register

commit 9401d5aa328e64617d87abd59af1c91cace4c3e4 upstream.

The 4-bit divider value was written at offset 8, while the jz4740
programming manual locates it at offset 0.

Fixes: 26b0aad80a86 ("ASoC: jz4740: Add dynamic sampling rate support to jz4740-i2s")
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200306222931.39664-2-paul@crapouillou.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/jz4740/jz4740-i2s.c