All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Remove unused mutex from WM9090 driver
@ 2011-08-30 14:50 Mark Brown
  2011-08-31 10:31 ` Liam Girdwood
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2011-08-30 14:50 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm9090.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/wm9090.c b/sound/soc/codecs/wm9090.c
index 4de1220..f2f3077 100644
--- a/sound/soc/codecs/wm9090.c
+++ b/sound/soc/codecs/wm9090.c
@@ -139,7 +139,6 @@ static const u16 wm9090_reg_defaults[] = {
 
 /* This struct is used to save the context */
 struct wm9090_priv {
-	struct mutex mutex;
 	struct wm9090_platform_data pdata;
 	void *control_data;
 };
@@ -663,7 +662,6 @@ static int wm9090_i2c_probe(struct i2c_client *i2c,
 
 	i2c_set_clientdata(i2c, wm9090);
 	wm9090->control_data = i2c;
-	mutex_init(&wm9090->mutex);
 
 	ret =  snd_soc_register_codec(&i2c->dev,
 			&soc_codec_dev_wm9090,  NULL, 0);
-- 
1.7.5.4

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

* Re: [PATCH] ASoC: Remove unused mutex from WM9090 driver
  2011-08-30 14:50 [PATCH] ASoC: Remove unused mutex from WM9090 driver Mark Brown
@ 2011-08-31 10:31 ` Liam Girdwood
  0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2011-08-31 10:31 UTC (permalink / raw)
  To: Mark Brown
  Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com

On 30/08/11 15:50, Mark Brown wrote:
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/wm9090.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/codecs/wm9090.c b/sound/soc/codecs/wm9090.c
> index 4de1220..f2f3077 100644
> --- a/sound/soc/codecs/wm9090.c
> +++ b/sound/soc/codecs/wm9090.c
> @@ -139,7 +139,6 @@ static const u16 wm9090_reg_defaults[] = {
>  
>  /* This struct is used to save the context */
>  struct wm9090_priv {
> -	struct mutex mutex;
>  	struct wm9090_platform_data pdata;
>  	void *control_data;
>  };
> @@ -663,7 +662,6 @@ static int wm9090_i2c_probe(struct i2c_client *i2c,
>  
>  	i2c_set_clientdata(i2c, wm9090);
>  	wm9090->control_data = i2c;
> -	mutex_init(&wm9090->mutex);
>  
>  	ret =  snd_soc_register_codec(&i2c->dev,
>  			&soc_codec_dev_wm9090,  NULL, 0);

Acked-by: Liam Girdwood <lrg@ti.com>

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

end of thread, other threads:[~2011-08-31 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-30 14:50 [PATCH] ASoC: Remove unused mutex from WM9090 driver Mark Brown
2011-08-31 10:31 ` Liam Girdwood

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.