]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
usb: r8a66597-hcd: decrease timeout
authorChris Brandt <chris.brandt@renesas.com>
Thu, 27 Apr 2017 19:12:49 +0000 (12:12 -0700)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 19 Jul 2017 07:58:20 +0000 (09:58 +0200)
BugLink: http://bugs.launchpad.net/bugs/1702104
commit dd14a3e9b92ac6f0918054f9e3477438760a4fa6 upstream.

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>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/usb/host/r8a66597-hcd.c

index 80fee152a27577816d9e1382c8d8df5e724d4a01..a11c2c8bda53f7ee1bc2fb34e7711585451be7bc 100644 (file)
@@ -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;
                }