[PATCH 0/2] USB: gadget core: Call ->disconnect() from usb_gadget_disconnect()

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

 



Felipe:

The following patches concern ->disconnect() callbacks made when a 
gadget's D+ pullup is turned off.  Currently we don't have a fixed rule 
for such callbacks.

The first patch makes usb_gadget_disconnect() issue the callback 
automatically, so that it will always happen and UDC drivers don't need 
to worry about it.

The second patch removes a callback from net2280's pullup routine, 
because it is now unneeded.

Other UDC drivers may also need to have their callbacks removed; the
only one I have checked is dummy-hcd (which is okay).

Alan Stern




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

  Powered by Linux