projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed7a3a9
)
usb: gadget: fusb300_udc: should not call gadget driver's .unbind
author
Peter Chen
<peter.chen@freescale.com>
Wed, 21 May 2014 01:04:18 +0000
(09:04 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 30 Jun 2014 18:25:18 +0000
(13:25 -0500)
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>
drivers/usb/gadget/fusb300_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/fusb300_udc.c
b/drivers/usb/gadget/fusb300_udc.c
index d8e2c0c40106b9e95eb100b9d1c9d17c9f88c3f9..d40255f784df6824d4d3a6d00ca58bf15f319292 100644
(file)
--- a/
drivers/usb/gadget/fusb300_udc.c
+++ b/
drivers/usb/gadget/fusb300_udc.c
@@
-1325,8
+1325,6
@@
static int fusb300_udc_stop(struct usb_gadget *g,
{
struct fusb300 *fusb300 = to_fusb300(g);
- driver->unbind(&fusb300->gadget);
-
init_controller(fusb300);
fusb300->driver = NULL;