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:
6a60912
)
usb: gadget: goku_udc: don't touch gadget.dev.driver
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 12:35:31 +0000
(14:35 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:36 +0000
(11:17 +0200)
udc-core now handles that for us, which means
we can remove it from our driver.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/goku_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/goku_udc.c
b/drivers/usb/gadget/goku_udc.c
index 1c070f4209f0580cc17cfdd111cc1471086d5f28..aa1976ee34e0fe03c5e71a161a758bdd62b50a4d 100644
(file)
--- a/
drivers/usb/gadget/goku_udc.c
+++ b/
drivers/usb/gadget/goku_udc.c
@@
-1351,7
+1351,6
@@
static int goku_udc_start(struct usb_gadget *g,
/* hook up the driver */
driver->driver.bus = NULL;
dev->driver = driver;
- dev->gadget.dev.driver = &driver->driver;
/*
* then enable host detection and ep0; and we're ready
@@
-1391,7
+1390,6
@@
static int goku_udc_stop(struct usb_gadget *g,
dev->driver = NULL;
stop_activity(dev, driver);
spin_unlock_irqrestore(&dev->lock, flags);
- dev->gadget.dev.driver = NULL;
return 0;
}