diff options
| -rw-r--r-- | drivers/mmc/host/dw_mmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index f3b0fcd002df..ab3fc4617107 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c | |||
| @@ -1881,7 +1881,8 @@ static void dw_mci_init_dma(struct dw_mci *host) | |||
| 1881 | if (!host->dma_ops) | 1881 | if (!host->dma_ops) |
| 1882 | goto no_dma; | 1882 | goto no_dma; |
| 1883 | 1883 | ||
| 1884 | if (host->dma_ops->init) { | 1884 | if (host->dma_ops->init && host->dma_ops->start && |
| 1885 | host->dma_ops->stop && host->dma_ops->cleanup) { | ||
| 1885 | if (host->dma_ops->init(host)) { | 1886 | if (host->dma_ops->init(host)) { |
| 1886 | dev_err(&host->dev, "%s: Unable to initialize " | 1887 | dev_err(&host->dev, "%s: Unable to initialize " |
| 1887 | "DMA Controller.\n", __func__); | 1888 | "DMA Controller.\n", __func__); |
