mmc: dw_mmc: transfer proper bytes to FIFO
authorXu Ziyuan <xzy.xu@rock-chips.com>
Thu, 28 Jul 2016 02:25:47 +0000 (10:25 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 5 Aug 2016 05:04:31 +0000 (14:04 +0900)
commit2990e07a33159b1c23325c2c789cdb3f9ab4d89c
treebe87b57526b8da5d08e9ebae7e0212440b134f59
parent14bed52d276afd36b9674ee7aa2c2ad9d2f4e59e
mmc: dw_mmc: transfer proper bytes to FIFO

The former implement, dw_mmc will push and pop the redundant data to
FIFO, we should transfer it according to the real size.

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>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/dw_mmc.c