diff options
author | Ludovic Barre <ludovic.barre@st.com> | 2018-10-08 14:08:33 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-10-09 09:13:03 +0200 |
commit | c3647fdc6a5a48699a1248a7f3d9a0429369e939 (patch) | |
tree | 991fad512b5c4613290f3dc9b1feaa4ef94130c2 /lib/nmi_backtrace.c | |
parent | mmc: sdhci-of-arasan: Add Support for AM654 MMC and PHY (diff) | |
download | linux-c3647fdc6a5a48699a1248a7f3d9a0429369e939.tar.xz linux-c3647fdc6a5a48699a1248a7f3d9a0429369e939.zip |
mmc: mmci: create common mmci_dma_setup/release
This patch creates a common mmci_dma_setup/release which calls
dma_setup/release callbacks of mmci_host_ops and manages
common features like use_dma... If there is a fallbacks to
pio mode, dma functions must check use_dma.
error management:
-mmci_dmae_setup fail if Tx and Rx dma channels are not defined
-qcom_dma_setup fail if one of both dma channels is not defined,
Qcom has no specific resource to release, just mmci dmae resource.
Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'lib/nmi_backtrace.c')
0 files changed, 0 insertions, 0 deletions