Messages in this thread | | | From | Paul Zimmerman <> | Subject | RE: [PATCH] staging: dwc2: add check on dwc2_core_reset return | Date | Thu, 21 Nov 2013 22:36:21 +0000 |
| |
> From: Julien DELACOU [mailto:julien.delacou@st.com] > Sent: Wednesday, November 20, 2013 8:30 AM > > 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> > --- > drivers/staging/dwc2/core.c | 58 +++++++++++++++++++++++++++++++++---------- > 1 file changed, 45 insertions(+), 13 deletions(-)
Acked-by: Paul Zimmerman <paulz@synopsys.com>
| |