commit | beb7e592bcfd750951c47580494f13065f0fd44c | [log] [tgz] |
---|---|---|
author | Julien DELACOU <julien.delacou@st.com> | Wed Nov 20 17:29:49 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 25 11:57:53 2013 -0800 |
tree | 3d677a4ee663a3f86b3b46e0d7c800862bd51ef0 | |
parent | b34085fdc2bb44b3d3cb16521ebd495f86fe717b [diff] |
staging: dwc2: add check on dwc2_core_reset return If the GRSTCTL_CSFTRST self-clearing bit never comes back to 0 for any reason, the controller is under reset state and cannot be used. It's preferable to abort initialization in such case. Signed-off-by: Julien Delacou <julien.delacou@st.com> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>