projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ceafcc
)
usb: gadget: net2280: don't connect from udc_start
author
Mian Yousaf Kaukab
<yousaf.kaukab@intel.com>
Mon, 2 Feb 2015 09:55:26 +0000
(10:55 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 10 Mar 2015 20:33:31 +0000
(15:33 -0500)
net2280_start can be called with pullup disabled. Don't set
softconnect flag in it. Let net2280_pullup handle the connection part.
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/net2280.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/udc/net2280.c
b/drivers/usb/gadget/udc/net2280.c
index 5a8f6b6f7c8d77b17869516e7bddab7e9c431e7f..5041e218a30216a137a1d61ad17fdf2145a88bc7 100644
(file)
--- a/
drivers/usb/gadget/udc/net2280.c
+++ b/
drivers/usb/gadget/udc/net2280.c
@@
-2263,7
+2263,6
@@
static int net2280_start(struct usb_gadget *_gadget,
dev->ep[i].irqs = 0;
/* hook up the driver ... */
- dev->softconnect = 1;
driver->driver.bus = NULL;
dev->driver = driver;