summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2
diff options
context:
space:
mode:
authorGregory Herrero <gregory.herrero@intel.com>2015-01-30 09:09:33 +0100
committerFelipe Balbi <balbi@ti.com>2015-01-30 10:32:59 -0600
commit86e37bf9f5d7f1e634ba5ca6bbc02aa85d004d2f (patch)
tree23a0f2b1ebf9e9360fa9d6670e00e04b075b3ed0 /drivers/usb/dwc2
parent643cc4dee1ee804b46f8d288babca046cca7e099 (diff)
downloadlinux-86e37bf9f5d7f1e634ba5ca6bbc02aa85d004d2f.tar.bz2
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 <r.baldyga@samsung.com> Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Gregory Herrero <gregory.herrero@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2')
-rw-r--r--drivers/usb/dwc2/gadget.c1
1 files changed, 0 insertions, 1 deletions
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);
}
}
}