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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux