summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2026-11-04 12:23:37 +0000
committerTakashi Iwai <tiwai@suse.de>2026-11-05 08:54:46 +0100
commit8c63987ac7fe605c337edbf9052cf97e2a415558 (patch)
tree4d22be6a7faf58bbfa113b0d1a4fa2c5fb994759 /scripts/Makefile.thinlto
parentaebc5461e2d0ef8f09920dfbc90e05b427aa5d35 (diff)
downloadlinux-next-8c63987ac7fe605c337edbf9052cf97e2a415558.tar.gz
linux-next-8c63987ac7fe605c337edbf9052cf97e2a415558.zip
ALSA: hda: cs35l56: Stop cs_dsp before calling cs_dsp_power_down()
In cs35l56_hda_unbind() call cs_dsp_stop() before cs_dsp_power_down() if cs_dsp is in a running state. cs35l56_hda_runtime_resume() calls cs_dsp_run() if cs_dsp_power_up() has previously run successfully. If cs35l56_hda_unbind() is then called while in this runtime-resumed state cs_dsp will be running. The code wasn't checking for this and was calling cs_dsp_power_down() while still in a running state, which is illegal. This is currently fairly harmless for the cs35l56 driver. But it doesn't comply with the API, so potentially could break with any future changes that expect the correct API use. Fixes: fb78d73dde2d4 ("ALSA: hda/cs35l56: Call cs_dsp_power_down() before calling cs_dsp_remove()") Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20261104122337.1072468-1-rf@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions