Home
last modified time | relevance | path

Searched hist:"9 b7a7f921689d6c254e5acd670be631ebd82d54d" (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/stm/
H A Dstm32_sai_sub.cdiff 9b7a7f921689d6c254e5acd670be631ebd82d54d Fri Oct 18 10:20:40 CEST 2019 Olivier Moysan <olivier.moysan@st.com> ASoC: stm32: sai: fix sysclk management on shutdown

The commit below, adds a call to sysclk callback on shutdown.
This introduces a regression in stm32 SAI driver, as some clock
services are called twice, leading to unbalanced calls.
Move processing related to mclk from shutdown to sysclk callback.
When requested frequency is 0, assume shutdown and release mclk.

Fixes: 2458adb8f92a ("SoC: simple-card-utils: set 0Hz to sysclk when shutdown")

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Link: https://lore.kernel.org/r/20191018082040.31022-1-olivier.moysan@st.com
Signed-off-by: Mark Brown <broonie@kernel.org>