From: Matt Evans Date: Tue, 29 Mar 2011 02:40:46 +0000 (+1100) Subject: xhci: Make xHCI driver endian-safe X-Git-Tag: v3.0-rc1~337^2~83^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28ccd2962c66556d7037b2d9f1c11cdcd3b805d5;p=pandora-kernel.git xhci: Make xHCI driver endian-safe This patch changes the struct members defining access to xHCI device-visible memory to use __le32/__le64 where appropriate, and then adds swaps where required. Checked with sparse that all accesses are correct. MMIO accesses use readl/writel so already are performed LE, but prototypes now reflect this with __le*. There were a couple of (debug) instances of DMA pointers being truncated to 32bits which have been fixed too. Signed-off-by: Matt Evans Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed