OSDN Git Service

mmc: davinci_mmc: Use dma_request_chan() to requesting DMA channel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 17 Mar 2016 03:45:31 +0000 (22:45 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:33:09 +0000 (10:33 +0200)
commit0a4d7236c5852f1643dad3ea89002ab2620302c6
tree936867fe28e6fc8b5d19dee93ef1049b399c114e
parent33a31ceaf064cd62bf08e437b5849684da2ffe71
mmc: davinci_mmc: Use dma_request_chan() to requesting DMA channel

With the new dma_request_chan() the client driver does not need to look for
the DMA resource and it does not need to pass filter_fn anymore.
By switching to the new API the driver can now support deferred probing
against DMA.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/davinci_mmc.c