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 15:33:31 -0500 |
commit | 12366ef1942128d9bd8baa77e7eb4010b18fd676 (patch) | |
tree | 74e44b80c3213cd07300ba192a197465b99aac94 /drivers/usb/gadget/udc | |
parent | 9ceafcc2b3ad48ad2ef42608f1505ecad515d144 (diff) | |
download | op-kernel-dev-12366ef1942128d9bd8baa77e7eb4010b18fd676.zip op-kernel-dev-12366ef1942128d9bd8baa77e7eb4010b18fd676.tar.gz |
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 'drivers/usb/gadget/udc')
-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 5a8f6b6..5041e21 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; |