* [PATCH v2] usb: dwc3: qcom: Restore DP/DM wake IRQ trigger types on unbind
@ 2026-11-26 19:41 Felipe Infante de Castro
2026-11-26 19:48 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Felipe Infante de Castro @ 2026-11-26 19:41 UTC (permalink / raw)
To: Thinh.Nguyen, gregkh; +Cc: linux-usb, linux-arm-msm, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: v2-0001-usb-dwc3-qcom-Restore-DP-DM-wake-IRQ-trigger-types-o.patch --]
[-- Type: application/x-patch, Size: 4294 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] usb: dwc3: qcom: Restore DP/DM wake IRQ trigger types on unbind
2026-11-26 19:41 [PATCH v2] usb: dwc3: qcom: Restore DP/DM wake IRQ trigger types on unbind Felipe Infante de Castro
@ 2026-11-26 19:48 ` sashiko-bot
0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-11-26 19:48 UTC (permalink / raw)
To: Felipe Infante de Castro; +Cc: linux-usb
> From: Felipe Infante de Castro <felipe.infante.de.castro@gmail.com>
> Date: Thu, 26 Nov 2026 13:54:01 -0500
> Subject: [PATCH v2] usb: dwc3: qcom: Restore DP/DM wake IRQ trigger types on
> unbind
>
> On suspend, dwc3_qcom_enable_wakeup_irq() sets the DP and DM high-speed
> PHY interrupts to a single edge, chosen from the speed of the attached
> device. The IRQ mapping outlives the driver, so after an unbind the
> mapping keeps that single-edge type.
>
> On the next probe the interrupt is looked up again from the device tree,
> which describes it as IRQ_TYPE_EDGE_BOTH. The lookup fails with a
> trigger type mismatch against the existing mapping. Because the wake
> interrupts are optional, probe still succeeds, but without the DP/DM
> wake handlers, and USB wakeup is lost until the next boot.
> [ ... ]
>
> Fixes: 6895ea55c385 ("usb: dwc3: qcom: Configure wakeup interrupts during suspend")
> Assisted-by: OpenAI Codex
> Assisted-by: Claude Fable 5.2
> Signed-off-by: Felipe Infante de Castro <felipe.infante.de.castro@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/CADy1qsZaucfiZPbMkLaXE=_i6enEAoHexHMVAJk0UGzZJNV8hA@mail.gmail.com?part=1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-26 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 19:41 [PATCH v2] usb: dwc3: qcom: Restore DP/DM wake IRQ trigger types on unbind Felipe Infante de Castro
2026-11-26 19:48 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox