All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: pcm - rename snd_codec_close() to snd_pcm_close().
@ 2011-06-09 16:04 Liam Girdwood
  2011-06-09 19:06 ` Mark Brown
  2011-06-10  6:07 ` Takashi Iwai
  0 siblings, 2 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-06-09 16:04 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, Liam Girdwood

Make sure we follow naming convention for all PCM ops.

Signed-off-by: Liam Girdwood <lrg@ti.com>
---
 sound/soc/soc-pcm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index f4864b0..b575939 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)
  * freed here. The cpu DAI, codec DAI, machine and platform are also
  * shutdown.
  */
-static int soc_codec_close(struct snd_pcm_substream *substream)
+static int soc_pcm_close(struct snd_pcm_substream *substream)
 {
 	struct snd_soc_pcm_runtime *rtd = substream->private_data;
 	struct snd_soc_platform *platform = rtd->platform;
@@ -567,7 +567,7 @@ static snd_pcm_uframes_t soc_pcm_pointer(struct snd_pcm_substream *substream)
 /* ASoC PCM operations */
 static struct snd_pcm_ops soc_pcm_ops = {
 	.open		= soc_pcm_open,
-	.close		= soc_codec_close,
+	.close		= soc_pcm_close,
 	.hw_params	= soc_pcm_hw_params,
 	.hw_free	= soc_pcm_hw_free,
 	.prepare	= soc_pcm_prepare,
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: pcm - rename snd_codec_close() to snd_pcm_close().
  2011-06-09 16:04 [PATCH] ASoC: pcm - rename snd_codec_close() to snd_pcm_close() Liam Girdwood
@ 2011-06-09 19:06 ` Mark Brown
  2011-06-10  6:07 ` Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-06-09 19:06 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel

On Thu, Jun 09, 2011 at 05:04:59PM +0100, Liam Girdwood wrote:
> Make sure we follow naming convention for all PCM ops.

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: pcm - rename snd_codec_close() to snd_pcm_close().
  2011-06-09 16:04 [PATCH] ASoC: pcm - rename snd_codec_close() to snd_pcm_close() Liam Girdwood
  2011-06-09 19:06 ` Mark Brown
@ 2011-06-10  6:07 ` Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2011-06-10  6:07 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, Mark Brown

At Thu, 9 Jun 2011 17:04:59 +0100,
Liam Girdwood wrote:
> 
> Make sure we follow naming convention for all PCM ops.

The subject contain typos :)


Takashi

> 
> Signed-off-by: Liam Girdwood <lrg@ti.com>
> ---
>  sound/soc/soc-pcm.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
> index f4864b0..b575939 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)
>   * freed here. The cpu DAI, codec DAI, machine and platform are also
>   * shutdown.
>   */
> -static int soc_codec_close(struct snd_pcm_substream *substream)
> +static int soc_pcm_close(struct snd_pcm_substream *substream)
>  {
>  	struct snd_soc_pcm_runtime *rtd = substream->private_data;
>  	struct snd_soc_platform *platform = rtd->platform;
> @@ -567,7 +567,7 @@ static snd_pcm_uframes_t soc_pcm_pointer(struct snd_pcm_substream *substream)
>  /* ASoC PCM operations */
>  static struct snd_pcm_ops soc_pcm_ops = {
>  	.open		= soc_pcm_open,
> -	.close		= soc_codec_close,
> +	.close		= soc_pcm_close,
>  	.hw_params	= soc_pcm_hw_params,
>  	.hw_free	= soc_pcm_hw_free,
>  	.prepare	= soc_pcm_prepare,
> -- 
> 1.7.4.1
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-10  6:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 16:04 [PATCH] ASoC: pcm - rename snd_codec_close() to snd_pcm_close() Liam Girdwood
2011-06-09 19:06 ` Mark Brown
2011-06-10  6:07 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.