diff options
author | Olivier Moysan <olivier.moysan@foss.st.com> | 2025-09-16 14:31:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-09-26 00:59:18 +0100 |
commit | 27fa1a8b2803dfd88c39f03b0969c55f667cdc43 (patch) | |
tree | f9cbd409bba6e624190b7174b42737bc8cd005f9 /rust/helpers/build_bug.c | |
parent | dc64b3d42cb361d4b39eb7cc73037fec52ef9676 (diff) |
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>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions