linux-kernelorg-stable/sound/soc/stm
Olivier Moysan 27fa1a8b28
ASoC: stm32: sai: manage context in set_sysclk callback
The mclk direction now needs to be specified in endpoint node with
"system-clock-direction-out" property. However some calls to the
set_sysclk callback, related to CPU DAI clock, result in unbalanced
calls to clock API.
The set_sysclk callback in STM32 SAI driver is intended only for mclk
management. So it is relevant to ensure that calls to set_sysclk are
related to mclk only.
Since the master clock is handled only at runtime, skip the calls to
set_sysclk in the initialization phase.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Link: https://patch.msgid.link/20250916123118.84175-1-olivier.moysan@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-09-26 00:59:18 +01:00
..
Kconfig ASoC: stm: Standardize ASoC menu 2025-06-24 01:01:17 +01:00
Makefile
stm32_adfsdm.c ASoC: stm32: dfsdm: change rate upper limits 2024-11-14 11:42:42 +00:00
stm32_i2s.c ASoC: stm: stm32_i2s: Fix calc_clk_div() error handling in determine_rate() 2025-08-12 21:15:29 +01:00
stm32_sai.c ASoC: stm: stm32_sai: Use dev_err_probe() 2025-04-06 23:25:10 +01:00
stm32_sai.h
stm32_sai_sub.c ASoC: stm32: sai: manage context in set_sysclk callback 2025-09-26 00:59:18 +01:00
stm32_spdifrx.c ASoC: stm: Convert to SYSTEM_SLEEP_PM_OPS() 2025-03-17 10:14:58 +00:00