]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Dec 2021 08:04:47 +0000 (09:04 +0100)
commitc2790d0d7bbaaa8a60c1039a3b00737f6add8940
tree116f9d1e7ab87b111d6c4e7aa80804c4442a6a48
parent9fd9271180068767885a6ad48828a83dd572e7c4
ASoC: stm32: i2s: fix 32 bits channel length without mclk

[ Upstream commit dbf20c5e31ec92cd25b0eeb563d46887f15f534d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/stm/stm32_i2s.c