]> git.ipfire.org Git - people/ms/u-boot.git/commit
mmc: dw_mmc: fix data starvation by host timeout under FIFO mode
authorXu Ziyuan <xzy.xu@rock-chips.com>
Thu, 28 Jul 2016 02:25:48 +0000 (10:25 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 5 Aug 2016 05:04:36 +0000 (14:04 +0900)
commit720724d09852858a3938f7bfcbbb3d1a0fdd6b4c
tree3a8245484625a04eaa345c3d30338301df8c6e47
parent2990e07a33159b1c23325c2c789cdb3f9ab4d89c
mmc: dw_mmc: fix data starvation by host timeout under FIFO mode

This patch fixes data starvation by host timeout(HTO) error interrupt
which occurred under FIFO mode transfer on rk3036 board.

The former implement, the actual bytes were transmitted may be less than
should be. The size will still subtract value of len in case of there is
no receive/transmit FIFO data request interrupt.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/dw_mmc.c