diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-09 11:01:04 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-10 14:08:31 -0500 |
commit | bd6b87c104bae49816808fde5f55a262093e85ed (patch) | |
tree | 01fa6f3ef1277df9aa6c5a00a57c3cda484aae9a | |
parent | 3e4199ef0105fb718b24cbcc837ad527fd60c880 (diff) |
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>
-rw-r--r-- | include/sound/soc.h | 1 | ||||
-rw-r--r-- | sound/soc/soc-core.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 7ba7130037a0..5c91b06864ce 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -780,7 +780,6 @@ struct snd_soc_codec { | |||
780 | struct device *dev; | 780 | struct device *dev; |
781 | const struct snd_soc_codec_driver *driver; | 781 | const struct snd_soc_codec_driver *driver; |
782 | 782 | ||
783 | struct mutex mutex; | ||
784 | struct list_head list; | 783 | struct list_head list; |
785 | struct list_head card_list; | 784 | struct list_head card_list; |
786 | 785 | ||
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, | |||
4362 | codec->dev = dev; | 4362 | codec->dev = dev; |
4363 | codec->driver = codec_drv; | 4363 | codec->driver = codec_drv; |
4364 | codec->component.val_bytes = codec_drv->reg_word_size; | 4364 | codec->component.val_bytes = codec_drv->reg_word_size; |
4365 | mutex_init(&codec->mutex); | ||
4366 | 4365 | ||
4367 | #ifdef CONFIG_DEBUG_FS | 4366 | #ifdef CONFIG_DEBUG_FS |
4368 | codec->component.init_debugfs = soc_init_codec_debugfs; | 4367 | codec->component.init_debugfs = soc_init_codec_debugfs; |