usb: fix bug Soft Reset HANG
authorlyz <lyz@rock-chips.com>
Mon, 4 Nov 2013 07:55:29 +0000 (15:55 +0800)
committerlyz <lyz@rock-chips.com>
Mon, 4 Nov 2013 08:00:15 +0000 (16:00 +0800)
drivers/usb/dwc_otg/dwc_otg_cil.c

index 35e88832a25673c2e628c6efbc4469e143a7b59d..649b76b16a34b009e8896f7580af7174db7f5359 100755 (executable)
@@ -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);