Hi, On Sun, Feb 17, 2013 at 11:09:53AM +0800, Peter Chen wrote: > @@ -1373,6 +1375,8 @@ static int ci13xxx_vbus_session(struct usb_gadget *_gadget, int is_active) > hw_device_state(ci, ci->ep0out->qh.dma); > dev_dbg(ci->dev, "Connected to host\n"); > } else { > + if (ci->driver) > + ci->driver->disconnect(&ci->gadget); This looks wrong. Why do you need to call ->disconnect() here ? -- balbi
Attachment:
signature.asc
Description: Digital signature