aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-pcm.c
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2011-06-09 12:04:59 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-09 14:29:35 -0400
commit91d5e6b4f5900cb46f92cd98d561a1a54bbca6b6 (patch)
treee6cea30625a850a07bae560310e97b201978cedc /sound/soc/soc-pcm.c
parentb8c0dab9bf3373010e857a8d3f1b594c60a348dd (diff)
ASoC: pcm - rename snd_codec_close() to snd_pcm_close().
Make sure we follow naming convention for all PCM ops. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-pcm.c')
-rw-r--r--sound/soc/soc-pcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index f4864b088d2c..b5759397afa3 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -268,7 +268,7 @@ static void close_delayed_work(struct work_struct *work)
268 * freed here. The cpu DAI, codec DAI, machine and platform are also 268 * freed here. The cpu DAI, codec DAI, machine and platform are also
269 * shutdown. 269 * shutdown.
270 */ 270 */
271static int soc_codec_close(struct snd_pcm_substream *substream) 271static int soc_pcm_close(struct snd_pcm_substream *substream)
272{ 272{
273 struct snd_soc_pcm_runtime *rtd = substream->private_data; 273 struct snd_soc_pcm_runtime *rtd = substream->private_data;
274 struct snd_soc_platform *platform = rtd->platform; 274 struct snd_soc_platform *platform = rtd->platform;
@@ -567,7 +567,7 @@ static snd_pcm_uframes_t soc_pcm_pointer(struct snd_pcm_substream *substream)
567/* ASoC PCM operations */ 567/* ASoC PCM operations */
568static struct snd_pcm_ops soc_pcm_ops = { 568static struct snd_pcm_ops soc_pcm_ops = {
569 .open = soc_pcm_open, 569 .open = soc_pcm_open,
570 .close = soc_codec_close, 570 .close = soc_pcm_close,
571 .hw_params = soc_pcm_hw_params, 571 .hw_params = soc_pcm_hw_params,
572 .hw_free = soc_pcm_hw_free, 572 .hw_free = soc_pcm_hw_free,
573 .prepare = soc_pcm_prepare, 573 .prepare = soc_pcm_prepare,