diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2016-08-04 11:30:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-08 11:55:20 +0100 |
commit | ea37bd4df55f640b5146ac08cd377242d3042e2e (patch) | |
tree | 744d6e5ca4c4bf8698c41df511803e22bad0591b /sound/soc/samsung/s3c-i2s-v2.c | |
parent | 8999390e40abe8099bd18299eaed96469f8aa5e1 (diff) | |
download | linux-ea37bd4df55f640b5146ac08cd377242d3042e2e.tar.bz2 |
ASoC: samsung: Drop usage of struct s3c_dma_params from s3c2412-i2s.c
struct s3c_dma_params already includes struct snd_dmaengine_dai_dma_data,
there is no need for such an indirection so switch to using struct
snd_dmaengine_dai_dma_data instead of struct s3c_dma_params. This also
allows us to use snd_soc_dai_init_dma_data() function instead of the
platform specific samsung_asoc_init_dma_data helper.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/s3c-i2s-v2.c')
-rw-r--r-- | sound/soc/samsung/s3c-i2s-v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c index bf8ae79b0fd2..74a7f4b7fa3b 100644 --- a/sound/soc/samsung/s3c-i2s-v2.c +++ b/sound/soc/samsung/s3c-i2s-v2.c @@ -302,7 +302,7 @@ static int s3c_i2sv2_hw_params(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) { struct s3c_i2sv2_info *i2s = to_info(dai); - struct s3c_dma_params *dma_data; + struct snd_dmaengine_dai_dma_data *dma_data; u32 iismod; pr_debug("Entered %s\n", __func__); |