Skip to content
Commit beb7e592 authored by Julien DELACOU's avatar Julien DELACOU Committed by Greg Kroah-Hartman
Browse files

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: default avatarJulien Delacou <julien.delacou@st.com>
Acked-by: default avatarPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b34085fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment