From: Andiry Xu Date: Thu, 11 Nov 2010 09:43:57 +0000 (+0800) Subject: xHCI: fix wMaxPacketSize mask X-Git-Tag: v2.6.37-rc4~62^2~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc07c91b9b4067022210e68d914a6890a4d70622;p=pandora-kernel.git xHCI: fix wMaxPacketSize mask USB2.0 spec 9.6.6 says: For all endpoints, bit 10..0 specify the maximum packet size(in bytes). So the wMaxPacketSize mask should be 0x7ff rather than 0x3ff. This patch should be queued for the stable tree. The bug in xhci_endpoint_init() was present as far back as 2.6.31, and the bug in xhci_get_max_esit_payload() was present when the function was introduced in 2.6.34. Reported-by: Sander Eikelenboom Signed-off-by: Andiry Xu Signed-off-by: Sarah Sharp Cc: stable@kernel.org --- Reading git-diff-tree failed