]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: atmel: Fix the 8K sample parameter in I2SC master
authorGuiting Shen <aarongt.shen@gmail.com>
Sat, 15 Jul 2023 03:06:20 +0000 (11:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:28 +0000 (12:22 +0200)
commit23151421ed01193c0fbc62ed681d67b194ef098a
treeec28f0a2b32a2c968651e1735fc0e8628f8e5b96
parentc934d2a6970ca8e2dcab01f0173c9e137808470b
ASoC: atmel: Fix the 8K sample parameter in I2SC master

[ Upstream commit f85739c0b2b0d98a32f5ca4fcc5501d2b76df4f6 ]

The 8K sample parameter of 12.288Mhz main system bus clock doesn't work
because the I2SC_MR.IMCKDIV must not be 0 according to the sama5d2
series datasheet(I2SC Mode Register of Register Summary).

So use the 6.144Mhz instead of 12.288Mhz to support 8K sample.

Signed-off-by: Guiting Shen <aarongt.shen@gmail.com>
Link: https://lore.kernel.org/r/20230715030620.62328-1-aarongt.shen@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/atmel/atmel-i2s.c