summaryrefslogtreecommitdiffstats
path: root/drivers/ufs/host/cdns-pltfrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ufs/host/cdns-pltfrm.c')
-rw-r--r--drivers/ufs/host/cdns-pltfrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ufs/host/cdns-pltfrm.c b/drivers/ufs/host/cdns-pltfrm.c
index bb30267da..66811d8d1 100644
--- a/drivers/ufs/host/cdns-pltfrm.c
+++ b/drivers/ufs/host/cdns-pltfrm.c
@@ -136,7 +136,7 @@ static int cdns_ufs_set_hclkdiv(struct ufs_hba *hba)
* Make sure the register was updated,
* UniPro layer will not work with an incorrect value.
*/
- mb();
+ ufshcd_readl(hba, CDNS_UFS_REG_HCLKDIV);
return 0;
}