summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmci.h
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2018-09-21 11:45:56 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-10-08 11:40:43 +0200
commitcdea194721929d025d40cfa6c2449d5c4cd366e6 (patch)
treed91d47c67f531be47b12fbd8b9aa1454d41043c9 /drivers/mmc/host/mmci.h
parentmmc: mmci: internalize dma map/unmap into mmci dma functions (diff)
downloadlinux-cdea194721929d025d40cfa6c2449d5c4cd366e6.tar.xz
linux-cdea194721929d025d40cfa6c2449d5c4cd366e6.zip
mmc: mmci: internalize dma_inprogress into mmci dma functions
This patch internalizes the dma_inprogress into mmci dma interfaces. This allows to simplify and prepare the next dma callbacks for mmci host ops. dma_inprogress is called in mmci_dma_data_error and mmci_dma_finalize. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mmci.h')
-rw-r--r--drivers/mmc/host/mmci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h
index 517591d219e9..21aaf9a261ba 100644
--- a/drivers/mmc/host/mmci.h
+++ b/drivers/mmc/host/mmci.h
@@ -333,8 +333,6 @@ struct mmci_host {
bool dma_in_progress;
#define dma_inprogress(host) ((host)->dma_in_progress)
-#else
-#define dma_inprogress(host) (0)
#endif
};