* [PATCH] ASoC: Remove unneeded mutex_init in wl1273_probe()
@ 2011-09-23 5:10 Axel Lin
2011-09-23 10:54 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Axel Lin @ 2011-09-23 5:10 UTC (permalink / raw)
To: linux-kernel; +Cc: Matti Aaltonen, Liam Girdwood, Mark Brown, alsa-devel
Since f0fba2ad "ASoC: multi-component - ASoC Multi-Component Support",
snd_soc_register_codec() now does all the codec list and mutex init.
Thus don't need to call mutex_init(&codec->mutex) in wl1273_probe() any more.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
sound/soc/codecs/wl1273.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c
index 5836201..9fa1429 100644
--- a/sound/soc/codecs/wl1273.c
+++ b/sound/soc/codecs/wl1273.c
@@ -462,7 +462,6 @@ static int wl1273_probe(struct snd_soc_codec *codec)
wl1273->core = *core;
snd_soc_codec_set_drvdata(codec, wl1273);
- mutex_init(&codec->mutex);
r = snd_soc_add_controls(codec, wl1273_controls,
ARRAY_SIZE(wl1273_controls));
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Remove unneeded mutex_init in wl1273_probe()
2011-09-23 5:10 [PATCH] ASoC: Remove unneeded mutex_init in wl1273_probe() Axel Lin
@ 2011-09-23 10:54 ` Mark Brown
0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-09-23 10:54 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Matti Aaltonen, Liam Girdwood, alsa-devel
On Fri, Sep 23, 2011 at 01:10:57PM +0800, Axel Lin wrote:
> Since f0fba2ad "ASoC: multi-component - ASoC Multi-Component Support",
> snd_soc_register_codec() now does all the codec list and mutex init.
> Thus don't need to call mutex_init(&codec->mutex) in wl1273_probe() any more.
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Remove unneeded mutex_init in wl1273_probe()
@ 2011-09-23 10:54 ` Mark Brown
0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-09-23 10:54 UTC (permalink / raw)
To: Axel Lin; +Cc: Matti Aaltonen, linux-kernel, alsa-devel, Liam Girdwood
On Fri, Sep 23, 2011 at 01:10:57PM +0800, Axel Lin wrote:
> Since f0fba2ad "ASoC: multi-component - ASoC Multi-Component Support",
> snd_soc_register_codec() now does all the codec list and mutex init.
> Thus don't need to call mutex_init(&codec->mutex) in wl1273_probe() any more.
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-23 10:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 5:10 [PATCH] ASoC: Remove unneeded mutex_init in wl1273_probe() Axel Lin
2011-09-23 10:54 ` Mark Brown
2011-09-23 10:54 ` Mark Brown
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.