On Fri, 29 Aug 2014, Felipe Balbi wrote:

> > First, change the API so that the disconnect API _does_ call 
> > usb_gadget_disconnect.
> 
> that's not what the API was intended for, however. If we're going down
> that path, we need another of telling the gadget driver to reset all its
> buffers and teardown all its requests without disconnecting pullups,
> maybe that's what ->reset() would be for.

Just so.  The disconnect handler should basically do the same thing as 
the reset handler, plus turn off the pullup.

I still have some old patch files lying around, adding reset callback
support to dummy-hcd, net2280, and net2272.  Would you like me to post
them?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to