summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/s3c-i2s-v2.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2016-08-04 11:30:28 +0200
committerMark Brown <broonie@kernel.org>2016-08-08 12:55:20 +0200
commitea37bd4df55f640b5146ac08cd377242d3042e2e (patch)
tree744d6e5ca4c4bf8698c41df511803e22bad0591b /sound/soc/samsung/s3c-i2s-v2.h
parentASoC: samsung: Drop usage of struct s3c_dma_params from s3c24xx-i2s.c (diff)
downloadlinux-ea37bd4df55f640b5146ac08cd377242d3042e2e.tar.xz
linux-ea37bd4df55f640b5146ac08cd377242d3042e2e.zip
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.h')
-rw-r--r--sound/soc/samsung/s3c-i2s-v2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/s3c-i2s-v2.h b/sound/soc/samsung/s3c-i2s-v2.h
index d0684145ed1f..182d80564e37 100644
--- a/sound/soc/samsung/s3c-i2s-v2.h
+++ b/sound/soc/samsung/s3c-i2s-v2.h
@@ -60,8 +60,8 @@ struct s3c_i2sv2_info {
unsigned char master;
- struct s3c_dma_params *dma_playback;
- struct s3c_dma_params *dma_capture;
+ struct snd_dmaengine_dai_dma_data *dma_playback;
+ struct snd_dmaengine_dai_dma_data *dma_capture;
u32 suspend_iismod;
u32 suspend_iiscon;