Skip to content
Commit c3974850 authored by Adrian Carpenter's avatar Adrian Carpenter Committed by Phil Elwell
Browse files

usb/dwc2: Set correct state on gadget disconnect

When operating as a USB device, when the device is disconnected the suspend interrupt is called rather than the disconnect interrupt, this results in the state remaining as "configured".  This change changes the state to "not attached" instead when the suspend interrupt is called.
parent 3163ee54
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment