summary refs log tree commit diff
path: root/certs
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2018-10-08 14:08:33 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-10-09 09:13:03 +0200
commitc3647fdc6a5a48699a1248a7f3d9a0429369e939 (patch)
tree991fad512b5c4613290f3dc9b1feaa4ef94130c2 /certs
parentf0061fed1f8a9f86ddec303a3f94742a71b20cb7 (diff)
downloadlinux-c3647fdc6a5a48699a1248a7f3d9a0429369e939.tar.gz
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 'certs')
0 files changed, 0 insertions, 0 deletions