From: Paul Zimmerman Date: Mon, 16 Apr 2012 21:19:07 +0000 (-0700) Subject: usb: usbtest: two super speed fixes for usbtest X-Git-Tag: v3.2.19~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60a3707d7f6b7d096a73e64c737e4e5625e97d11;p=pandora-kernel.git 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 Acked-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed