]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: Revert "Drop SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag"
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 17 Jan 2017 13:16:41 +0000 (14:16 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 23 Jan 2017 18:16:33 +0000 (18:16 +0000)
commit9bfa24e90956cc79362572391657b84cf54a559a
tree42054d8feed6201b0eb86976f24ce9a07b316a9f
parentb8ab0ccc0b6e517ff595f1b06fb9f578c8b4001f
ASoC: Revert "Drop SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag"

This reverts commit c6644119a3f80ea644bde10009d5e1013b5aff29 and
restores the ability to specify DMA channel names per DAI dma_data.
Unfortunately the functionality removed in the patch being reverted
cannot be entirely replaced by specifying DMA channel names in struct
snd_dmaengine_pcm_config as that does not cover devices with more than
2 DMA channels.

Together with patch "ASoC: Revert "samsung: Remove unneeded
initialization of chan_name"" this fixes broken sound on the s3c24xx
SoC platforms.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/dmaengine_pcm.h
sound/soc/soc-generic-dmaengine-pcm.c