projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e06be
)
emmc/dw_mmc: fix the assert on HLE bit
author
Haojian Zhuang
<haojian.zhuang@linaro.org>
Thu, 11 Jan 2018 05:49:56 +0000
(13:49 +0800)
committer
Haojian Zhuang
<haojian.zhuang@linaro.org>
Thu, 11 Jan 2018 05:49:56 +0000
(13:49 +0800)
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>
drivers/synopsys/emmc/dw_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/synopsys/emmc/dw_mmc.c
b/drivers/synopsys/emmc/dw_mmc.c
index e6904d14bac80b01e5424f7e6f713b68add69890..701e6d53dbbdc9d63291da1efb6f8dd6b4887e50 100644
(file)
--- 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
);
}
}