]> git.baikalelectronics.ru Git - kernel.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>
Wed, 13 Sep 2023 07:42:22 +0000 (09:42 +0200)
commit9c1263320163dd6ffad9242fff2a61294b6f3346
tree4a011133439d4cbaa9bd760bab3a5dbf43956d19
parent2e780a9f4ac1591f8797d0ed6834c08a72749fc4
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