Re: [PATCH v2 4/5] mmc: davinci: don't use dma platform resources
From: Peter Ujfalusi
Date: Wed Mar 16 2016 - 04:48:05 EST
On 03/15/16 19:14, David Lechner wrote:
> On 03/15/2016 03:54 AM, Peter Ujfalusi wrote:
>> On 03/15/16 00:54, David Lechner wrote:
>>>
>>> host->dma_tx =
>>> - dma_request_slave_channel_compat(mask, edma_filter_fn,
>>> - &host->txdma, mmc_dev(host->mmc), "tx");
>>> + dma_request_slave_channel(mmc_dev(host->mmc), "tx");
>>
>> you would need to use dma_request_chan() to be able to rely on the legacy
>> channel mapping.
>> I have staged commits for converting all daVinci and OMAP drivers, I'll attach
>> the patch I have for davinci-mmc for reference.
>> When we convert to use the dma_request_chan() we can handle deferred probing
>> also...
>>
>
> OK. So I should redo this patch on top of the patch you attached?
Or replace your patch with mine in your series. In my patch I forgot to remove
the 'u32 rxdma, txdma;' from struct mmc_davinci_host...
--
Péter