All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] soundwire: qcom: Fix IRQ trigger and runtime PM teardown on controller rebind
@ 2026-12-01 16:28 ` Birk Skyum via B4 Relay
  0 siblings, 0 replies; 7+ messages in thread
From: Birk Skyum @ 2026-12-01 16:28 UTC (permalink / raw)
  To: Srinivas Kandagatla, Vinod Koul, Bard Liao, Pierre-Louis Bossart
  Cc: linux-sound, linux-arm-msm, linux-kernel, Birk Skyum

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@pm.me>
---
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@pm.me>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-12-01 17:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 16:28 [PATCH 0/2] soundwire: qcom: Fix IRQ trigger and runtime PM teardown on controller rebind Birk Skyum
2026-12-01 16:28 ` Birk Skyum via B4 Relay
2026-12-01 16:28 ` [PATCH 1/2] soundwire: qcom: Take controller IRQ trigger type from DT Birk Skyum
2026-12-01 16:28   ` Birk Skyum via B4 Relay
2026-12-01 16:28 ` [PATCH 2/2] soundwire: qcom: Balance runtime PM and hclk in remove Birk Skyum
2026-12-01 16:28   ` Birk Skyum via B4 Relay
2026-12-01 17:06   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.