From: Edward Shao Date: Wed, 10 Feb 2010 19:37:30 +0000 (+0800) Subject: USB: xhci: Fix finding extended capabilities registers X-Git-Tag: v2.6.34-rc1~215^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05197921ff3dad52d99fd1647974c57d9c28d40e;p=pandora-kernel.git USB: xhci: Fix finding extended capabilities registers According "5.3.6 Capability Parameters (HCCPARAMS)" of xHCI rev0.96 spec, value of xECP register indicates a relative offset, in 32-bit words, from Base to the beginning of the first extended capability. The wrong calculation will cause BIOS handoff fail (not handoff from BIOS) in some platform with BIOS USB legacy sup support. Signed-off-by: Edward Shao Cc: Sarah Sharp Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed