summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2017-04-27 12:12:49 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-17 11:52:44 +0200
commitdd14a3e9b92ac6f0918054f9e3477438760a4fa6 (patch)
tree8a8489d2b9556f5a4aeb0e50f7b7e243f4d7fc00 /drivers/usb
parent1a744d2eb76aaafb997fda004ae3ae62a1538f85 (diff)
downloadlinux-dd14a3e9b92ac6f0918054f9e3477438760a4fa6.tar.bz2
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 <chris.brandt@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/r8a66597-hcd.c2
1 files changed, 1 insertions, 1 deletions
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;
}