ASoC: samsung: Specify DMA channels through struct snd_dmaengine_pcm_config
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 21 Jul 2016 18:03:50 +0000 (20:03 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jul 2016 18:18:17 +0000 (19:18 +0100)
commit42a74e77471ea42e6ab44e5be16723ede72b9901
tree6be321ee4782af38a420aad1ccbd7e8fd83cb702
parent2b960386cb75bd332a132c44c9ec69bd1f3122d8
ASoC: samsung: Specify DMA channels through struct snd_dmaengine_pcm_config

The DMA channel names are specified through struct snd_dmaengine_pcm_config
rather than using SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag when
booting with devicetree in order to properly support deferred probing.
Without this change the sound machine driver initialization can complete
successfully with unavailable DMA resources.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/ac97.c
sound/soc/samsung/dma.h
sound/soc/samsung/dmaengine.c
sound/soc/samsung/i2s.c
sound/soc/samsung/pcm.c
sound/soc/samsung/s3c2412-i2s.c
sound/soc/samsung/s3c24xx-i2s.c
sound/soc/samsung/spdif.c