Re: [PATCH] usb: dwc3: qcom: Check for L2 only when suspending a host with wakeup
From: Huang Wei
Date: Tue Sep 29 2026 - 13:21:16 EST
Hi Fabricio,
This matches what I'd expect from the PHY behaviour - in peripheral
mode the device disconnects before the glue suspends, so there is no
link left to park in L2, and the unconditional check is just log noise
on every suspend. Restricting it to the host-with-wakeup case that
actually relies on L2 retention looks right.
The untested host path is low risk in a specific way: for host with
wakeup the check runs exactly as before, so the patch only silences
the cases where L2 is not expected. And since the runtime PM paths
pass wakeup unconditionally, host runtime suspend still gets the
check, which seems to be the intended behaviour.
Tested on real hardware in the mode that was noisy - nice.
Reviewed-by: Huang Wei <huangwei@xxxxxxxxxx>
Thanks,
Huang Wei