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:
1d91a96
)
usb: musb: gadget: don't call ->disconnect() on exit
author
Felipe Balbi
<balbi@ti.com>
Sun, 2 Oct 2011 18:46:47 +0000
(21:46 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 14 Nov 2011 19:51:16 +0000
(11:51 -0800)
that has already being done by udc-core.c. It's
unnecessary and might cause issues with some gadget
drivers.
Tested: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_gadget.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/musb_gadget.c
b/drivers/usb/musb/musb_gadget.c
index ae4a20acef6c6e1265f2666d00c09cdee4d19032..d51043acfe1abc5013217e70b4854e153f8bdf96 100644
(file)
--- a/
drivers/usb/musb/musb_gadget.c
+++ b/
drivers/usb/musb/musb_gadget.c
@@
-1999,10
+1999,6
@@
static void stop_activity(struct musb *musb, struct usb_gadget_driver *driver)
nuke(&hw_ep->ep_out, -ESHUTDOWN);
}
}
-
- spin_unlock(&musb->lock);
- driver->disconnect(&musb->g);
- spin_lock(&musb->lock);
}
}