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:
7a61612
)
usb: gadget: net2272: do not need to judge gadget driver's .unbind
author
Peter Chen
<peter.chen@freescale.com>
Wed, 21 May 2014 01:04:20 +0000
(09:04 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 30 Jun 2014 18:25:19 +0000
(13:25 -0500)
It has already been covered by udc core, besides, we do not
need unbind at .udc_start
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/net2272.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/net2272.c
b/drivers/usb/gadget/net2272.c
index ca15405583e20bf1ad58b89e749ca293a013dfc8..059cfe527982fbad2912cfdb61733560ba4ac589 100644
(file)
--- a/
drivers/usb/gadget/net2272.c
+++ b/
drivers/usb/gadget/net2272.c
@@
-1453,7
+1453,7
@@
static int net2272_start(struct usb_gadget *_gadget,
struct net2272 *dev;
unsigned i;
- if (!driver || !driver->
unbind || !driver->
setup ||
+ if (!driver || !driver->setup ||
driver->max_speed != USB_SPEED_HIGH)
return -EINVAL;