summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorMichael Auer <mick@yoxcu.de>2026-10-13 22:45:49 +0200
committerMark Brown <broonie@kernel.org>2026-10-15 20:19:13 +0100
commitcef5d087d6813d4c15847d0b71ecbd6c47c5f1d4 (patch)
tree72eb30db96306dc1c7803b11d0009b0bb3dbb8ea /scripts/basic/split-include.c
parent97019e26268060f2fe55046e6af4e20690f5f973 (diff)
downloadlinux-cef5d087d6813d4c15847d0b71ecbd6c47c5f1d4.tar.gz
linux-cef5d087d6813d4c15847d0b71ecbd6c47c5f1d4.zip
ASoC: qcom: sdm845: Disable the quaternary MI2S bit clock on shutdown
sdm845_snd_startup() enables the quaternary MI2S bit clock in the ADSP, but sdm845_snd_shutdown() never disables it. After the first stream on this port the clock stays on. On the OnePlus 6 the speaker amplifier is on this port. After the first playback the ADSP no longer power collapses: it slept under 9 s in 5 hours. With this change it sleeps again when audio is idle (about 40 s of 45 s). Refcount the clock like the other MI2S and TDM ports and disable it when the last user is gone. Fixes: 5caf64c633a3 ("ASoC: qcom: sdm845: add support to DB845c and Lenovo Yoga") Assisted-by: LLM Signed-off-by: Michael Auer <mick@yoxcu.de> Link: https://patch.msgid.link/20261013204549.3115830-1-mick@yoxcu.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions