summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-11-09 17:01:04 +0100
committerMark Brown <broonie@kernel.org>2014-11-10 19:08:31 +0000
commitbd6b87c104bae49816808fde5f55a262093e85ed (patch)
tree01fa6f3ef1277df9aa6c5a00a57c3cda484aae9a /sound/soc/soc-core.c
parent3e4199ef0105fb718b24cbcc837ad527fd60c880 (diff)
downloadlinux-bd6b87c104bae49816808fde5f55a262093e85ed.tar.bz2
ASoC: Remove CODEC mutex
The CODEC mutex is now unused and can be removed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 4c8f8a23a0e9..cc7bb7ad9677 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -4362,7 +4362,6 @@ int snd_soc_register_codec(struct device *dev,
codec->dev = dev;
codec->driver = codec_drv;
codec->component.val_bytes = codec_drv->reg_word_size;
- mutex_init(&codec->mutex);
#ifdef CONFIG_DEBUG_FS
codec->component.init_debugfs = soc_init_codec_debugfs;