commit | 9e6082198acca5371dded5fcbede7a53ff4a7ec8 | [log] [tgz] |
---|---|---|
author | Ley Foon Tan <ley.foon.tan@intel.com> | Fri Jan 10 13:48:37 2020 +0800 |
committer | Marek Vasut <marex@denx.de> | Mon Feb 03 09:26:14 2020 +0100 |
tree | af6a8bf98a4dd0ecc55bd584cb524cc20d8de6f6 | |
parent | 31a790bee939e227dfc7e6a6a323b2b13180707f [diff] |
reset: socfpga: Poll for reset status after deassert reset In Cyclone 5 SoC platform, the first USB probing is failed but second probing is success. DWC2 USB driver read gsnpsid register right after de-assert reset, but controller is not ready yet and it returns gsnpsid 0. Polling reset status after de-assert reset to solve the issue. Retry with this fix more than 10 times without issue. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>