mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 18:14:24 +00:00
emmc/dw_mmc: fix the assert on HLE bit
When check HLE bit in interrupt register, it should check whether HLE bit is set, not clear. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
This commit is contained in:
parent
08e06be819
commit
e52f529167
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue