Skip to content
Snippets Groups Projects
Commit b3649f3b authored by Vitaly Kuzmichev's avatar Vitaly Kuzmichev Committed by Remy Bohmer
Browse files

USB-CDC: handle interrupt after dropped pullup


Disconnecting USB gadget with pending interrupt may cause its wrong
handling in the next time when interface will be started again
(especially actual for RNDIS). This interrupt may force the gadget
to queue unexpected response before setup stage.
Despite the fact that such interrupt handled after dropped pullup
also may add pending response, this will not bring to any issues due to
usb_ep_disable (which clears the queue) called on gadget unregistering.

Signed-off-by: default avatarVitaly Kuzmichev <vkuzmichev@mvista.com>
parent 9b70e007
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment