diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-02-21 11:47:55 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-21 14:29:59 -0500 |
commit | e54e2f81da0aaf9e39d6f9b25fa08ce0bec9ca06 (patch) | |
tree | e6957499cbe7d07499658fff513d5a0e5b415baf /sound/soc/imx | |
parent | 07fb9d9e935a07aaed557c58d795c18fcd99aab4 (diff) |
ASoC: imx-pcm: Remove empty prepare callback
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/imx')
-rw-r--r-- | sound/soc/imx/imx-pcm-dma-mx2.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sound/soc/imx/imx-pcm-dma-mx2.c b/sound/soc/imx/imx-pcm-dma-mx2.c index 5780c9b9d569..bc1df166385a 100644 --- a/sound/soc/imx/imx-pcm-dma-mx2.c +++ b/sound/soc/imx/imx-pcm-dma-mx2.c | |||
@@ -186,16 +186,6 @@ static int snd_imx_pcm_hw_free(struct snd_pcm_substream *substream) | |||
186 | return 0; | 186 | return 0; |
187 | } | 187 | } |
188 | 188 | ||
189 | static int snd_imx_pcm_prepare(struct snd_pcm_substream *substream) | ||
190 | { | ||
191 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | ||
192 | struct imx_pcm_dma_params *dma_params; | ||
193 | |||
194 | dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); | ||
195 | |||
196 | return 0; | ||
197 | } | ||
198 | |||
199 | static int snd_imx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) | 189 | static int snd_imx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) |
200 | { | 190 | { |
201 | struct snd_pcm_runtime *runtime = substream->runtime; | 191 | struct snd_pcm_runtime *runtime = substream->runtime; |
@@ -291,7 +281,6 @@ static struct snd_pcm_ops imx_pcm_ops = { | |||
291 | .ioctl = snd_pcm_lib_ioctl, | 281 | .ioctl = snd_pcm_lib_ioctl, |
292 | .hw_params = snd_imx_pcm_hw_params, | 282 | .hw_params = snd_imx_pcm_hw_params, |
293 | .hw_free = snd_imx_pcm_hw_free, | 283 | .hw_free = snd_imx_pcm_hw_free, |
294 | .prepare = snd_imx_pcm_prepare, | ||
295 | .trigger = snd_imx_pcm_trigger, | 284 | .trigger = snd_imx_pcm_trigger, |
296 | .pointer = snd_imx_pcm_pointer, | 285 | .pointer = snd_imx_pcm_pointer, |
297 | .mmap = snd_imx_pcm_mmap, | 286 | .mmap = snd_imx_pcm_mmap, |