usb: gadget: udc-core: call ->disconnect() when soft disconnecting
authorFelipe Balbi <balbi@ti.com>
Thu, 9 Oct 2014 15:12:24 +0000 (10:12 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:00:58 +0000 (10:00 -0600)
commit0abd0696982534a5cf75e8129989fa3d4b734797
treeaa20f857f8f489ce33adbde322f27321a6cc4375
parent0b0231aa246cbfdcf0a07f5e8914c0f1b80002f6
usb: gadget: udc-core: call ->disconnect() when soft disconnecting

when disconnecting from host using our soft_connect
sysfs interface, also let the gadget driver know about
it by calling the gadget driver's ->disconnect()
method.

No problems have been found while not calling ->disconnect()
so far, it's just good convention.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/udc-core.c