[PATCH 0/2] soundwire: qcom: Fix IRQ trigger and runtime PM teardown on controller rebind
From: Birk Skyum via B4 Relay
Date: Tue Dec 01 2026 - 11:28:42 EST
Two fixes for unbinding and rebinding Qualcomm SoundWire controllers
(for example when the audio DSP restarts after crash recovery, driver
reload, or hibernation on Snapdragon X1 laptops):
1. Stop forcing IRQF_TRIGGER_RISING when requesting the controller IRQ
so level-triggered DT interrupts do not fail to remap on rebind.
2. Disable runtime PM and autosuspend in qcom_swrm_remove() and gate
hclk release on runtime PM status so unbind does not double-disable
hclk and rebind does not oops in swrm_runtime_resume().
Tested on a Lenovo Yoga Slim 7x (X1E80100) across ADSP reloads and
five consecutive hibernation cycles.
Signed-off-by: Birk Skyum <birk.skyum@xxxxx>
---
Birk Skyum (2):
soundwire: qcom: Take controller IRQ trigger type from DT
soundwire: qcom: Balance runtime PM and hclk in remove
drivers/soundwire/qcom.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
---
base-commit: ef922b721a5e99348fc1f5801fdeb427ee14ee9f
change-id: 20261201-qcom-soundwire-rebind-fixes-5793ac889fb2
Best regards,
--
Birk Skyum <birk.skyum@xxxxx>