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:
Haojian Zhuang 2018-01-11 13:49:56 +08:00
parent 08e06be819
commit e52f529167
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}