[U-Boot] [PATCH 3/7] usb: dwc2: Throttle the setup packet resending

Chin Liang See clsee at altera.com
Wed May 4 11:37:18 CEST 2016


On Tue, 2016-05-03 at 22:51 +0200, Marek Vasut wrote:
> Abort the request in case any of the tokens in the packet failed to
> complete transfer 10 times. This is a precaution needed so that we
> don't end in endless loop when scanning the bus with some braindead
> devices.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Chin Liang See <clsee at altera.com>
> Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
> Cc: Hans de Goede <hdegoede at redhat.com>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Stephen Warren <swarren at nvidia.com>
> ---
>  drivers/usb/host/dwc2.c | 44 ++++++++++++++++++++++++++++++++-------
> -----
>  1 file changed, 32 insertions(+), 12 deletions(-)
> 

Reviewed-by: Chin Liang See <clsee at altera.com>
Tested-by: Chin Liang See <clsee at altera.com>

Thanks
Chin Liang


More information about the U-Boot mailing list