mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
scsi: ufshcd: Add a wmb before sending uic cmd
Adds a wmb Change-Id: Iaf69210a2451227db040ec6dea57aeb09c284635 Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
This commit is contained in:
parent
0695d03ab9
commit
a546e4ea24
1 changed files with 2 additions and 0 deletions
|
|
@ -2062,6 +2062,8 @@ ufshcd_dispatch_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd)
|
|||
/* Write UIC Cmd */
|
||||
ufshcd_writel(hba, uic_cmd->command & COMMAND_OPCODE_MASK,
|
||||
REG_UIC_COMMAND);
|
||||
/* Ensure that the command is written */
|
||||
wmb();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue