diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-09-17 12:37:19 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-25 17:23:27 -0700 |
commit | 92b336d7f665c39cc3be774b3d051fe40bf35e5c (patch) | |
tree | 9483f6b6e964901235b1860e2b292ccfdb9a89d8 /COPYING | |
parent | a746c286f32126ce6f0f98c111bb7ea15943e083 (diff) | |
download | linux-92b336d7f665c39cc3be774b3d051fe40bf35e5c.tar.bz2 |
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions