mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Marek Vasut
parent
473f55676a
commit
7997599e2d
@@ -130,6 +130,13 @@
|
||||
/* UHS register */
|
||||
#define DWMCI_DDR_MODE (1 << 16)
|
||||
|
||||
/* Internal IDMAC interrupt defines */
|
||||
#define DWMCI_IDINTEN_RI BIT(1)
|
||||
#define DWMCI_IDINTEN_TI BIT(0)
|
||||
|
||||
#define DWMCI_IDINTEN_MASK (DWMCI_IDINTEN_TI | \
|
||||
DWMCI_IDINTEN_RI)
|
||||
|
||||
/* quirks */
|
||||
#define DWMCI_QUIRK_DISABLE_SMU (1 << 0)
|
||||
|
||||
|
Reference in New Issue
Block a user