commit | 6a23ccd216b6a8ba2c67a9f9d8969b4431ad2920 | [log] [tgz] |
---|---|---|
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | Mon Apr 16 14:19:07 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 01 13:38:27 2012 -0400 |
tree | 0358a6569a0f59411494633b160814d4282e7f05 | |
parent | 73108aa90cbfc663649885a06fe5c1235307de1c [diff] |
usb: usbtest: two super speed fixes for usbtest 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> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>