[U-Boot] [PATCH 1/5] USB-CDC: handle interrupt after dropped pullup

Remy Bohmer linux at bohmer.net
Thu Feb 17 19:55:20 CET 2011


Hi,

2011/2/11 Vitaly Kuzmichev <vkuzmichev at mvista.com>:
> 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: Vitaly Kuzmichev <vkuzmichev at mvista.com>
> ---
>  drivers/usb/gadget/ether.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)

Applied to u-boot-usb. Thanks!

Kind regards,

Remy


More information about the U-Boot mailing list