usb: dwc_otg: fix bug in device_init routine
authorlyz <lyz@rock-chips.com>
Mon, 16 Mar 2015 09:11:48 +0000 (17:11 +0800)
committerlyz <lyz@rock-chips.com>
Mon, 16 Mar 2015 09:15:28 +0000 (17:15 +0800)
commit2e57f1da64abe0772a8afa499c00390b04aaed15
treea13252cfce7dfec47c053c34d6bf00ebf46d9d4a
parentf8b5e71ded31d64193445e8054412e53277139dd
usb: dwc_otg: fix bug in device_init routine

1.wait epenable bit timeout decrease from 10s to 1s
2.fix bug, without 'j++' this loop never break if there is some
problem with ep state
drivers/usb/dwc_otg_310/dwc_otg_cil.c