commit | 0d370755dd4ad3d119818579cfa3eb2e9978b3eb | [log] [tgz] |
---|---|---|
author | David Vrabel <david.vrabel@csr.com> | Mon Dec 07 13:50:39 2009 +0000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Dec 11 11:55:26 2009 -0800 |
tree | f8b7fa0640f156f4780f3c37a24e7af1f08729c2 | |
parent | f3f6faa9edf67c1018270793e0547b0f81abb47e [diff] |
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 <david.vrabel@csr.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>