usb: dwc3: core: Enable AutoRetry feature in the controller
authorAnurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Fri, 27 Jul 2018 07:41:20 +0000 (13:11 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 30 Jul 2018 07:39:18 +0000 (10:39 +0300)
commitb138e23d3dff90c0494925b4c1874227b81bddf7
treef6f383735e528ea9cbaedfe200101492b98ba576
parenta77004681148f5773c20370812ca7d14443fb091
usb: dwc3: core: Enable AutoRetry feature in the controller

By default when core sees any transaction error (CRC or overflow) it
replies with terminating retry ACK (Retry=1 and Nump == 0).

Enabling this Auto Retry feature in controller will make the core send
a non-terminanting ACK upon such transaction errors. That is, ACK TP
with Retry=1 and Nump != 0.

Doing so will give controller a chance to recover from transient error
conditions.

Signed-off-by: Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h