commit | 0abd0696982534a5cf75e8129989fa3d4b734797 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Thu Oct 09 10:12:24 2014 -0500 |
committer | Felipe Balbi <balbi@ti.com> | Mon Nov 03 10:00:58 2014 -0600 |
tree | aa20f857f8f489ce33adbde322f27321a6cc4375 | |
parent | 0b0231aa246cbfdcf0a07f5e8914c0f1b80002f6 [diff] |
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>