From: Gregory Herrero Date: Fri, 30 Jan 2015 08:09:33 +0000 (+0100) Subject: usb: dwc2: gadget: don't modify pullup status during reset X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=86e37bf9f5d7f1e634ba5ca6bbc02aa85d004d2f;p=openwrt%2Fstaging%2Fblogic.git usb: dwc2: gadget: don't modify pullup status during reset Pullup doesn't need to be enabled during usb reset since it is already enabled. This leads to shorter chirp-k duration if done during usb reset. Tested-by: Robert Baldyga Acked-by: John Youn Signed-off-by: Gregory Herrero Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 3cf9c6a5e2c7..50903003f4d9 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -2492,7 +2492,6 @@ irq_retry: -ECONNRESET); s3c_hsotg_core_init_disconnected(hsotg, true); - s3c_hsotg_core_connect(hsotg); } } }