]> git.baikalelectronics.ru Git - kernel.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)
commitdbf20c5e31ec92cd25b0eeb563d46887f15f534d
tree0aa8385dfd913069b11d1ec29c75206a3e1c02e0
parent2d098234d95f22f0d94e415fe4188b421c2de894
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: 9836b1e79c97 ("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