aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mxcmmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/mxcmmc.c')
-rw-r--r--drivers/mmc/host/mxcmmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index 5316d9b9e7b4..317d709f7550 100644
--- a/drivers/mmc/host/mxcmmc.c
+++ b/drivers/mmc/host/mxcmmc.c
@@ -281,7 +281,7 @@ static inline void buffer_swap32(u32 *buf, int len)
281 int i; 281 int i;
282 282
283 for (i = 0; i < ((len + 3) / 4); i++) { 283 for (i = 0; i < ((len + 3) / 4); i++) {
284 st_le32(buf, *buf); 284 *buf = swab32(*buf);
285 buf++; 285 buf++;
286 } 286 }
287} 287}