Hi,

On Thu, Jan 24, 2013 at 07:54:37PM +0200, Felipe Balbi wrote:
> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
> index 067ba6ad..db44b9f 100644
> --- a/drivers/usb/dwc3/gadget.c
> +++ b/drivers/usb/dwc3/gadget.c
> @@ -2107,6 +2107,7 @@ static void dwc3_gadget_conndone_interrupt(struct dwc3 
> *dwc)
>       u8                      speed;
>  
>       dev_vdbg(dwc->dev, "%s\n", __func__);
> +     usb_gadget_set_state(&dwc->gadget, USB_STATE_NOTATTACHED);

I just sent it and already saw a small problem. This NOTATTACHED can be
done by udc-core.c itself when we call usb_add_gadget_udc(). I have
already modified my local branch, will wait a few extra days before
resending.

cheers

-- 
balbi

Attachment: signature.asc
Description: Digital signature

Reply via email to