summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-05-21 09:04:19 +0800
committerFelipe Balbi <balbi@ti.com>2014-06-30 13:25:18 -0500
commit7a61612aef56244cbb31e5e54c9df8c599b25f55 (patch)
tree602359fe48ed97ffef3bda91acf68a88a588b361 /drivers/usb/gadget
parent3b0f069fa3c4b26c7d9e90a0921881e08eff6674 (diff)
downloadop-kernel-dev-7a61612aef56244cbb31e5e54c9df8c599b25f55.zip
op-kernel-dev-7a61612aef56244cbb31e5e54c9df8c599b25f55.tar.gz
usb: gadget: m66592-udc: should not call gadget driver's .unbind
It has already been covered by udc core Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/m66592-udc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/m66592-udc.c b/drivers/usb/gadget/m66592-udc.c
index 3d6609b..de88d33 100644
--- a/drivers/usb/gadget/m66592-udc.c
+++ b/drivers/usb/gadget/m66592-udc.c
@@ -1492,8 +1492,6 @@ static int m66592_udc_stop(struct usb_gadget *g,
m66592_bclr(m66592, M66592_VBSE | M66592_URST, M66592_INTENB0);
- driver->unbind(&m66592->gadget);
-
init_controller(m66592);
disable_controller(m66592);
OpenPOWER on IntegriCloud