* [PATCH] ASoC: codecs: Remove unused mutex
@ 2011-09-04 12:52 Axel Lin
2011-09-04 14:10 ` Mark Brown
0 siblings, 1 reply; 4+ messages in thread
From: Axel Lin @ 2011-09-04 12:52 UTC (permalink / raw)
To: linux-kernel; +Cc: Arnaud Patard, Mark Brown, Liam Girdwood, alsa-devel
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
sound/soc/codecs/alc5623.c | 2 --
sound/soc/codecs/wm9090.c | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/sound/soc/codecs/alc5623.c b/sound/soc/codecs/alc5623.c
index eecffb5..0517315 100644
--- a/sound/soc/codecs/alc5623.c
+++ b/sound/soc/codecs/alc5623.c
@@ -41,7 +41,6 @@ MODULE_PARM_DESC(caps_charge, "ALC5623 cap charge time (msecs)");
struct alc5623_priv {
enum snd_soc_control_type control_type;
void *control_data;
- struct mutex mutex;
u8 id;
unsigned int sysclk;
u16 reg_cache[ALC5623_VENDOR_ID2+2];
@@ -1052,7 +1051,6 @@ static int alc5623_i2c_probe(struct i2c_client *client,
i2c_set_clientdata(client, alc5623);
alc5623->control_data = client;
alc5623->control_type = SND_SOC_I2C;
- mutex_init(&alc5623->mutex);
ret = snd_soc_register_codec(&client->dev,
&soc_codec_device_alc5623, &alc5623_dai, 1);
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.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: codecs: Remove unused mutex
2011-09-04 12:52 [PATCH] ASoC: codecs: Remove unused mutex Axel Lin
@ 2011-09-04 14:10 ` Mark Brown
2011-09-04 14:48 ` Axel Lin
0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2011-09-04 14:10 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Arnaud Patard, Liam Girdwood, alsa-devel
On Sun, Sep 04, 2011 at 08:52:31PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> sound/soc/codecs/alc5623.c | 2 --
> sound/soc/codecs/wm9090.c | 2 --
This has already been done for wm9090, can you resubmit with just the
alc5623 change please?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: codecs: Remove unused mutex
2011-09-04 14:10 ` Mark Brown
@ 2011-09-04 14:48 ` Axel Lin
2011-09-04 15:27 ` Mark Brown
0 siblings, 1 reply; 4+ messages in thread
From: Axel Lin @ 2011-09-04 14:48 UTC (permalink / raw)
To: Mark Brown; +Cc: linux-kernel, Arnaud Patard, Liam Girdwood, alsa-devel
2011/9/4 Mark Brown <broonie@opensource.wolfsonmicro.com>:
> On Sun, Sep 04, 2011 at 08:52:31PM +0800, Axel Lin wrote:
>> Signed-off-by: Axel Lin <axel.lin@gmail.com>
>> Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
>> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
>> ---
>> sound/soc/codecs/alc5623.c | 2 --
>> sound/soc/codecs/wm9090.c | 2 --
>
> This has already been done for wm9090, can you resubmit with just the
> alc5623 change please?
>
Ok. A new patch "ASoC: alc5623: Remove unused mutex" is on the way.
Thanks,
Axel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: codecs: Remove unused mutex
2011-09-04 14:48 ` Axel Lin
@ 2011-09-04 15:27 ` Mark Brown
0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2011-09-04 15:27 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Arnaud Patard, Liam Girdwood, alsa-devel
On Sun, Sep 04, 2011 at 10:48:09PM +0800, Axel Lin wrote:
> 2011/9/4 Mark Brown <broonie@opensource.wolfsonmicro.com>:
> > This has already been done for wm9090, can you resubmit with just the
> > alc5623 change please?
> Ok. A new patch "ASoC: alc5623: Remove unused mutex" is on the way.
Thanks. The patch has been sitting there for a little while but it's
not on kernel.org due to the lockdown after the compromise - until we
can start pushing updates again there's a risk of overlaps like this.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-04 15:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-04 12:52 [PATCH] ASoC: codecs: Remove unused mutex Axel Lin
2011-09-04 14:10 ` Mark Brown
2011-09-04 14:48 ` Axel Lin
2011-09-04 15:27 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox