From: Chris Brandt Date: Thu, 27 Apr 2017 19:12:49 +0000 (-0700) Subject: usb: r8a66597-hcd: decrease timeout X-Git-Tag: MMI-PSA29.97-13-9~5558^2~21 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dd14a3e9b92ac6f0918054f9e3477438760a4fa6;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git usb: r8a66597-hcd: decrease timeout The timeout for BULK packets was 300ms which is a long time if other endpoints or devices are waiting for their turn. Changing it to 50ms greatly increased the overall performance for multi-endpoint devices. Fixes: 5d3043586db4 ("usb: r8a66597-hcd: host controller driver for R8A6659") Signed-off-by: Chris Brandt Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index bfa7fa3d2eea..698ec8721403 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c @@ -1269,7 +1269,7 @@ static void set_td_timer(struct r8a66597 *r8a66597, struct r8a66597_td *td) time = 30; break; default: - time = 300; + time = 50; break; }