[alsa-devel] [PATCH 1/2] ASoC: samsung: s3c24{xx, 12}-i2s: port to use generic dmaengine API

Vasily Khoruzhick anarsoul at gmail.com
Tue May 20 11:25:53 CEST 2014


On Mon, May 19, 2014 at 11:34 PM, Lars-Peter Clausen <lars at metafoo.de> wrote:
> On 05/19/2014 10:18 PM, Vasily Khoruzhick wrote:
>>
>> On Mon, May 19, 2014 at 8:11 PM, Vasily Khoruzhick <anarsoul at gmail.com>
>> wrote:
>>>
>>> Use dmaengine instead of legacy s3c24xx DMA API for s3c24xx and s3c2412
>>
>>
>> Please discard this series, I'd like to use
>> dma_request_slave_channel_compat() to request a dma channel here,
>> to simpify migration to DT later.
>
>
> When you use the generic DMAengine PCM driver, migration to DT essentially
> comes for free, you don't need to do anything special other than not
> specifying the NO_DT flag.
>
> - Lars

Hi Lars, all,

But how do I have to pass DMA channel number for non-DT boot? I've
seen that s3c64xx uses DMA resources at least for I2S and SPI,
but Arnd suggested to use platform data. What's preffered way?

Regards
Vasily


More information about the Alsa-devel mailing list