diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-09-04 10:48:27 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-05 21:15:15 -0400 |
commit | c8f4b7fd681b236a1878dffaebc47f4f18c66d80 (patch) | |
tree | 00d33b60470604c5c1fe06275e1e34fb1212e374 /sound | |
parent | 27b6d92a2434219caad8e3a0bc7b5ea5e44c3702 (diff) |
ASoC: alc5623: Remove unused mutex
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/alc5623.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/alc5623.c b/sound/soc/codecs/alc5623.c index eecffb548947..05173159507e 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)"); | |||
41 | struct alc5623_priv { | 41 | struct alc5623_priv { |
42 | enum snd_soc_control_type control_type; | 42 | enum snd_soc_control_type control_type; |
43 | void *control_data; | 43 | void *control_data; |
44 | struct mutex mutex; | ||
45 | u8 id; | 44 | u8 id; |
46 | unsigned int sysclk; | 45 | unsigned int sysclk; |
47 | u16 reg_cache[ALC5623_VENDOR_ID2+2]; | 46 | u16 reg_cache[ALC5623_VENDOR_ID2+2]; |
@@ -1052,7 +1051,6 @@ static int alc5623_i2c_probe(struct i2c_client *client, | |||
1052 | i2c_set_clientdata(client, alc5623); | 1051 | i2c_set_clientdata(client, alc5623); |
1053 | alc5623->control_data = client; | 1052 | alc5623->control_data = client; |
1054 | alc5623->control_type = SND_SOC_I2C; | 1053 | alc5623->control_type = SND_SOC_I2C; |
1055 | mutex_init(&alc5623->mutex); | ||
1056 | 1054 | ||
1057 | ret = snd_soc_register_codec(&client->dev, | 1055 | ret = snd_soc_register_codec(&client->dev, |
1058 | &soc_codec_device_alc5623, &alc5623_dai, 1); | 1056 | &soc_codec_device_alc5623, &alc5623_dai, 1); |