summaryrefslogtreecommitdiff
path: root/drivers/mmc/sh_sdhi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/sh_sdhi.c')
-rw-r--r--drivers/mmc/sh_sdhi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/sh_sdhi.c b/drivers/mmc/sh_sdhi.c
index 30e538cc16..dc4c686fe9 100644
--- a/drivers/mmc/sh_sdhi.c
+++ b/drivers/mmc/sh_sdhi.c
@@ -430,6 +430,9 @@ static void sh_sdhi_get_response(struct sh_sdhi_host *host, struct mmc_cmd *cmd)
}
p2 = (unsigned long *)cmd->response;
+
+ barrier();
+
#if defined(__BIG_ENDIAN_BITFIELD)
for (i = 0; i < cnt; i++) {
*p2++ = ((*p1 >> 16) & 0x0000ffff) |