]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: mmci: Re-work code starting DMA for the qcom variant
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 6 Mar 2019 14:04:53 +0000 (15:04 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000 (11:55 +0200)
commitea27c95a7a47ae7303b28d2bf2c5db461bb002c6
tree40165416119b36d3d5e19f646973a3770701859b
parentc21aa7a804160f58e391c9fcb2aff16e7d30c80f
mmc: mmci: Re-work code starting DMA for the qcom variant

Having mmci_dmae_start() to invoke the shared function, dml_start_xfer(),
explicitly for the qcom variant isn't very nice. Let's clean up this code
by moving the qcom specific parts into the qcom ->dma_start() callback and
then drop dml_start_xfer() altogether.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci_qcom_dml.c
drivers/mmc/host/mmci_qcom_dml.h