diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2016-10-25 17:08:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-25 21:22:48 +0200 |
commit | cdaf9af1eaeb539e32bfd6da6310b41ad6c3ba23 (patch) | |
tree | 6a092f2420a2e71716bc129a5e54784116ddd472 /sound/soc/samsung/s3c2412-i2s.c | |
parent | Linux 4.9-rc1 (diff) | |
download | linux-cdaf9af1eaeb539e32bfd6da6310b41ad6c3ba23.tar.xz linux-cdaf9af1eaeb539e32bfd6da6310b41ad6c3ba23.zip |
ASoC: samsung: Remove unneeded initialization of chan_name
This patch updates the I2S drivers to always use chan_names[] field
of struct snd_dmaengine_pcm_config for specifying DMA channel names,
rather than using struct snd_dmaengine_dai_dma_data.
This allows us to subsequently drop the
SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag, now when the last
use of that flag is removed.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/s3c2412-i2s.c')
-rw-r--r-- | sound/soc/samsung/s3c2412-i2s.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c index 3e89fbc0c51d..40331a060a02 100644 --- a/sound/soc/samsung/s3c2412-i2s.c +++ b/sound/soc/samsung/s3c2412-i2s.c @@ -35,12 +35,10 @@ #include <linux/platform_data/asoc-s3c.h> static struct snd_dmaengine_dai_dma_data s3c2412_i2s_pcm_stereo_out = { - .chan_name = "tx", .addr_width = 4, }; static struct snd_dmaengine_dai_dma_data s3c2412_i2s_pcm_stereo_in = { - .chan_name = "rx", .addr_width = 4, }; |