Re: [RFC PATCH 0/7] usb: gadget: add reset API at usb_gadget_driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 29, 2014 at 05:08:13PM -0400, Alan Stern wrote:
> 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?

Please do :-) let's get all of that sorted out soon.

Thanks Alan

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux