From: David Vrabel Date: Mon, 7 Dec 2009 13:50:39 +0000 (+0000) Subject: USB: whci-hcd: correctly handle sg lists longer than QTD_MAX_XFER_SIZE. X-Git-Tag: v2.6.33-rc1~315^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d370755dd4ad3d119818579cfa3eb2e9978b3eb;p=pandora-kernel.git USB: whci-hcd: correctly handle sg lists longer than QTD_MAX_XFER_SIZE. When building qTDs (sTDs) from a scatter-gather list, the length of the qTD must be a multiple of wMaxPacketSize if the transfer continues into another qTD. This also fixes a link failure on configurations for 32 bit processors with 64 bit dma_addr_t (e.g., CONFIG_HIGHMEM_64G). Signed-off-by: David Vrabel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed