From: lyz Date: Mon, 4 Nov 2013 07:55:29 +0000 (+0800) Subject: usb: fix bug Soft Reset HANG X-Git-Tag: firefly_0821_release~6513 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=69aca6d1406c5a36d9b0bcd6664b52f6448c5937;p=firefly-linux-kernel-4.4.55.git usb: fix bug Soft Reset HANG --- diff --git a/drivers/usb/dwc_otg/dwc_otg_cil.c b/drivers/usb/dwc_otg/dwc_otg_cil.c index 35e88832a256..649b76b16a34 100755 --- a/drivers/usb/dwc_otg/dwc_otg_cil.c +++ b/drivers/usb/dwc_otg/dwc_otg_cil.c @@ -2960,6 +2960,7 @@ void dwc_otg_core_reset(dwc_otg_core_if_t *_core_if) greset.d32); break; } + UDELAY(1); } while (greset.b.csftrst == 1);