diff options
| author | Julien DELACOU <julien.delacou@st.com> | 2013-11-20 17:29:49 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-25 11:57:53 -0800 |
| commit | beb7e592bcfd750951c47580494f13065f0fd44c (patch) | |
| tree | 3d677a4ee663a3f86b3b46e0d7c800862bd51ef0 /include/linux | |
| 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
