summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2026-10-22 12:15:28 +0200
committerMark Brown <broonie@kernel.org>2026-10-22 14:20:42 +0100
commit8731e33a3b98ea1ccade059b3a1ce06b7dd66b17 (patch)
treec4259503caa8cf43a6bb5bf02518c6ab0a951841 /scripts/basic/split-include.c
parentd153f261a56dc08bbda19a356e9d8f8fa2f2969e (diff)
downloadlinux-8731e33a3b98ea1ccade059b3a1ce06b7dd66b17.tar.gz
linux-8731e33a3b98ea1ccade059b3a1ce06b7dd66b17.zip
ASoC: wm8994: follow AIF clock source changes in MCLK gating
The AIF clock source can be changed by configure_aif_clock() while the AIF clock is running, for example the Midas machine driver switches AIF1 between MCLK2 and FLL1 while AIF1CLK is kept enabled for jack detection. aif_mclk_set() only enables the MCLK selected at the time the AIF clock is turned on, so an MCLK selected later this way is never enabled, and the codec may run from a stopped clock. Track whether the AIF clock is running and, if so, enable the newly selected MCLK in configure_aif_clock() before switching to it, then release the previously enabled one. Fixes: 001b83d395ab ("ASoC: wm8994: Add support for MCLKn clock gating") Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://patch.msgid.link/20261022101531.775891-1-m.szyprowski@samsung.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions