diff options
author | Mian Yousaf Kaukab <yousaf.kaukab@intel.com> | 2015-02-02 10:55:26 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-10 21:33:31 +0100 |
commit | 12366ef1942128d9bd8baa77e7eb4010b18fd676 (patch) | |
tree | 74e44b80c3213cd07300ba192a197465b99aac94 /drivers/usb/gadget/udc/net2280.c | |
parent | usb: gadget: net2280: print error in ep_ops error paths (diff) | |
download | linux-12366ef1942128d9bd8baa77e7eb4010b18fd676.tar.xz linux-12366ef1942128d9bd8baa77e7eb4010b18fd676.zip |
usb: gadget: net2280: don't connect from udc_start
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/usb/gadget/udc/net2280.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c index 5a8f6b6f7c8d..5041e218a302 100644 --- 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; |