Skip to content
Commit 4189894b authored by Adrian Carpenter's avatar Adrian Carpenter Committed by popcornmix
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 fde430a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment