Re: [PATCH] usb: dwc3: gadget: Inform system of suspended state
From: Thinh Nguyen
Date: Thu Mar 05 2026 - 21:08:03 EST
On Thu, Mar 05, 2026, Ravineet Singh wrote:
> Hi.
>
> Sorry to resurrect this old thread but as far as I can see,
> this issue was dropped.
> As we have the same issue, not receiving a disconnect when cable is disconnected,
> we altered the patch and this version works for us.
>
> Any thought on the patch?
>
> Regards
> /Ravineet
>
>
Please avoid sending patches as attachment so we can keep track of the
context. You can send as RFC patch and reference back to this discussion.
Regarding the patch, no it's not right. You're comparing the
usb_device_speed enum value to the DSTS register value.
Can you share the regdump after disconnection?
BR,
Thinh