mmc: dwmmc: Poll for iDMAC TX/RX interrupt
authorLey Foon Tan <ley.foon.tan@intel.com>
Thu, 20 Dec 2018 09:55:41 +0000 (17:55 +0800)
committerMarek Vasut <marex@denx.de>
Mon, 18 Feb 2019 12:00:54 +0000 (13:00 +0100)
commit7997599e2df64c8fb450bc03f2d618adbde05f6e
tree6316acdb2f882c04b7f079424a28b061db6ff585
parent473f55676a65e068ba82096f54cd1e9f16ecc006
mmc: dwmmc: Poll for iDMAC TX/RX interrupt

Poll for iDMAC TX/RX interrupt before disable DMA.
This to prevent disable DMA before data is transfer
completed.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
drivers/mmc/dw_mmc.c
include/dwmmc.h