projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fd1f9d
)
usb: gadget: udc: pxa27x: do not call usb_gadget_unregister_driver()
author
Felipe Balbi
<balbi@ti.com>
Sat, 18 Oct 2014 01:19:41 +0000
(20:19 -0500)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 3 Nov 2014 16:01:19 +0000
(10:01 -0600)
that call is completely unnecessary because
usb_del_gadget_udc() already makes sure the
gadget driver is properly unregistered from
the UDC.
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa27x_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/udc/pxa27x_udc.c
b/drivers/usb/gadget/udc/pxa27x_udc.c
index dd6890d918b613bfab0f8fc885bbf9c73c8247de..69e7b816d880faf7e16d41ecffc435fd9d1675ea 100644
(file)
--- a/
drivers/usb/gadget/udc/pxa27x_udc.c
+++ b/
drivers/usb/gadget/udc/pxa27x_udc.c
@@
-2501,7
+2501,6
@@
static int pxa_udc_remove(struct platform_device *_dev)
struct pxa_udc *udc = platform_get_drvdata(_dev);
usb_del_gadget_udc(&udc->gadget);
- usb_gadget_unregister_driver(udc->driver);
pxa_cleanup_debugfs(udc);
usb_put_phy(udc->transceiver);