commit | 92b336d7f665c39cc3be774b3d051fe40bf35e5c | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@freescale.com> | Tue Sep 17 12:37:19 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 25 17:23:27 2013 -0700 |
tree | 9483f6b6e964901235b1860e2b292ccfdb9a89d8 | |
parent | a746c286f32126ce6f0f98c111bb7ea15943e083 [diff] |
usb: chipidea: udc: Consolidate the call of disconnect The udc-core will call gadget's driver->disconnect, so we should avoid calling gadget's disconnect again at ci_udc_stop in case the gadget's unbind free some structs which is still used at gadget's disconnect. Tested-by: Marek Vasut <marex@denx.de> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>