aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliucheng <liucheng@longcheer.net>2016-05-11 15:51:36 +0800
committerAjay Dudani <adudani@google.com>2016-05-20 14:50:27 -0700
commit70416bc1abc8d9d14309211762e98c7277fe626a (patch)
treeaff84a59dbc816eff1e9a5fb8a8ed61c0b271732
parentf02befa8819264fc2a6f8593d2289f170e21dc09 (diff)
mmc: host: Add memory barrier to cmdq_prep_dcmd_desc operationandroid-lego-6.0.1_r0.4
Speculative fix for stability/black screen issue. Further root cause analysis is in progress. Change-Id: I3d346668d0b628994bbbcbc473c71a6e97a3f220 Signed-off-by: liucheng <liucheng@longcheer.net>
-rw-r--r--drivers/mmc/host/cmdq_hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/cmdq_hci.c b/drivers/mmc/host/cmdq_hci.c
index 6a0a6b0bbd2e..d4100834727f 100644
--- a/drivers/mmc/host/cmdq_hci.c
+++ b/drivers/mmc/host/cmdq_hci.c
@@ -591,7 +591,7 @@ static void cmdq_prep_dcmd_desc(struct mmc_host *mmc,
mrq->cmd->opcode, timing, resp_type);
dataddr = (__le64 __force *)(desc + 4);
dataddr[0] = cpu_to_le64((u64)mrq->cmd->arg);
-
+ mb();
}
static int cmdq_request(struct mmc_host *mmc, struct mmc_request *mrq)