summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2018-01-16 10:44:30 +0000
committerGitHub <noreply@github.com>2018-01-16 10:44:30 +0000
commit1c10d96fc3951aa0c7c873082c3a4482a7bd5afc (patch)
treed818e60b05af91b2d684ad59c9d84735f2ee14b0
parent759a7be93721ef1ca117867255c69a99039afaa3 (diff)
parente52f5291672649b0b6b18f1f7df87d2d371e4d46 (diff)
Merge pull request #1221 from hzhuang1/fix_HLE
emmc/dw_mmc: fix the assert on HLE bit
-rw-r--r--drivers/synopsys/emmc/dw_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/synopsys/emmc/dw_mmc.c b/drivers/synopsys/emmc/dw_mmc.c
index e6904d14..701e6d53 100644
--- a/drivers/synopsys/emmc/dw_mmc.c
+++ b/drivers/synopsys/emmc/dw_mmc.c
@@ -146,7 +146,7 @@ static void dw_update_clk(void)
if ((data & CMD_START) == 0)
break;
data = mmio_read_32(dw_params.reg_base + DWMMC_RINTSTS);
- assert(data & INT_HLE);
+ assert((data & INT_HLE) == 0);
}
}