Commit 4587f53a authored by Jaehoon Chung's avatar Jaehoon Chung

mmc: dw_mmc: fix the wrong Mask bit boundary for fifo_count bit

According to DesignWare TRM, FIFO_COUNT is bit[29:17].
If get the correct fifo_count value, it has to  use the FIFO_MASK
as 0x1FFF, not 0x1FF.
Signed-off-by: default avatarJaehoon Chung <>
Reviewed-by: default avatarZiyuan Xu <>
parent 720724d0
......@@ -105,7 +105,7 @@
/* Status Register */
#define DWMCI_BUSY (1 << 9)
#define DWMCI_FIFO_MASK 0x1ff
#define DWMCI_FIFO_MASK 0x1fff
/* FIFOTH Register */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment