]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: net2280: Remove ->disconnect() callback from net2280_pullup()
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 2 Oct 2018 14:18:40 +0000 (10:18 -0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 5 Oct 2018 07:50:23 +0000 (10:50 +0300)
commit3b766f45355775fc5c404b7ff88f3fd3e9d77f86
treef5bfff52225bdc9d91a19a0a4d75b3eecd85aa9f
parentc216765d3a1defda5e7e2dabd878f99f0cd2ebf2
USB: net2280: Remove ->disconnect() callback from net2280_pullup()

The net2280 UDC driver invokes the gadget driver's ->disconnect()
callback routine when the net2280_pullup() routine turns off the D+
pullup.  This is now unnecessary, because the gadget core performs the
callback on our behalf.  This patch removes the unneeded callback.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/net2280.c