commit | 30f1775e480e29227c879dd3b89a6d8f9a28e86b | [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 | aae460258ddd67b3763f00052ca4c266e52b7e03 [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>