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)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jul 2023 11:10:00 +0000 (12:10 +0100)
commitf85739c0b2b0d98a32f5ca4fcc5501d2b76df4f6
treee27eff67f24fb4af9be81207923a8100bc9acd7e
parent23adeb7056acd4fd866969f4afb91441776cc4f5
ASoC: atmel: Fix the 8K sample parameter in I2SC master

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>
sound/soc/atmel/atmel-i2s.c