diff options
author | Olivier Moysan <olivier.moysan@st.com> | 2019-10-18 11:20:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-18 20:09:03 +0300 |
commit | 9b7a7f921689d6c254e5acd670be631ebd82d54d (patch) | |
tree | a32882e28bfdbcdf78ba325c7cb2956a860be251 /scripts/diffconfig | |
parent | e5f0d490fb718254a884453e47fcd48493cd67ea (diff) | |
download | linux-9b7a7f921689d6c254e5acd670be631ebd82d54d.tar.xz |
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>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions