]> git.dujemihanovic.xyz Git - linux.git/commit
ASoC: stm32: i2s: fix 32 bits channel length without mclk
authorOlivier Moysan <olivier.moysan@foss.st.com>
Wed, 17 Nov 2021 10:44:04 +0000 (11:44 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 17 Nov 2021 13:04:38 +0000 (13:04 +0000)
commit424fe7edbed18d47f7b97f7e1322a6f8969b77ae
tree0aa8385dfd913069b11d1ec29c75206a3e1c02e0
parentcb04d8cd0bb0b82acc34cc73cb33ae77cbfb020d
ASoC: stm32: i2s: fix 32 bits channel length without mclk

Fix divider calculation in the case of 32 bits channel
configuration, when no master clock is used.

Fixes: e4e6ec7b127c ("ASoC: stm32: Add I2S driver")
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Link: https://lore.kernel.org/r/20211117104404.3832-1-olivier.moysan@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_i2s.c