commit | 20abf2be1e67b3150e1512d6bb23039af6b2454c | [log] [tgz] |
---|---|---|
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | Mon Apr 16 14:19:07 2012 -0700 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:15:11 2020 +0200 |
tree | a706f8bb5d93b784fbb10e54aba220c7e484bb09 | |
parent | b609ad8bc7da785271b83ae4366b028b098e7fe2 [diff] |
usb: usbtest: two super speed fixes for usbtest commit 6a23ccd216b6a8ba2c67a9f9d8969b4431ad2920 upstream. bMaxPacketSize0 field for super speed is a power of 2, not a count. The size itself is always 512. Max packet size for a super speed bulk endpoint is 1024, so allocate the urb size in halt_simple() accordingly. Signed-off-by: Paul Zimmerman <paulz@synopsys.com> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>