summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/sd_uhs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/sd_uhs2.c')
-rw-r--r--drivers/mmc/core/sd_uhs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sd_uhs2.c b/drivers/mmc/core/sd_uhs2.c
index c5847a2084d5..1c31d0dfa961 100644
--- a/drivers/mmc/core/sd_uhs2.c
+++ b/drivers/mmc/core/sd_uhs2.c
@@ -181,7 +181,7 @@ static int sd_uhs2_dev_init(struct mmc_host *host)
UHS2_DEV_INIT_COMPLETE_FLAG |
((gd & 0xF) << 4) |
(gap & 0xF);
- uhs2_cmd.payload[0] = payload0;
+ uhs2_cmd.payload[0] = (__force __be32)payload0;
sd_uhs2_cmd_assemble(&cmd, &uhs2_cmd, UHS2_DEV_INIT_PAYLOAD_LEN,
UHS2_DEV_INIT_RESP_LEN);