RE: [PATCH] staging: dwc2: add check on dwc2_core_reset return

From: Paul Zimmerman
Date: Thu Nov 21 2013 - 17:36:34 EST


> From: Julien DELACOU [mailto:julien.delacou@xxxxxx]
> 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@xxxxxx>
> ---
> drivers/staging/dwc2/core.c | 58 +++++++++++++++++++++++++++++++++----------
> 1 file changed, 45 insertions(+), 13 deletions(-)

Acked-by: Paul Zimmerman <paulz@xxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/