OSDN Git Service

ASoC: samsung: Specify DMA channel names through custom DMA config
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 14 Feb 2019 09:37:41 +0000 (10:37 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 14 Feb 2019 13:06:01 +0000 (13:06 +0000)
commit0f928c19b646f6af39ccf7481a546e5da616bb78
tree1319aafa86df696ba63f6c2171d6546e1d7452b9
parentbc3cf17b575a7a97b4af7ddcf86133175da7a582
ASoC: samsung: Specify DMA channel names through custom DMA config

This is a part of conversion of Samsung platforms to use the custom DMA
config for specifying DMA channel names, in addition to passing custom
DMA device for the secondary CPU DAI's "PCM" component for some variants
of the I2S controller.

We also don't set the SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME any more
as setting it wouldn't allow to specify DMA channels through the custom
DMA config.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/dmaengine.c
sound/soc/samsung/i2s.c
sound/soc/samsung/s3c2412-i2s.c
sound/soc/samsung/s3c24xx-i2s.c