Commit bd6b87c1 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown
Browse files

ASoC: Remove CODEC mutex



The CODEC mutex is now unused and can be removed.

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3e4199ef
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -780,7 +780,6 @@ struct snd_soc_codec {
	struct device *dev;
	const struct snd_soc_codec_driver *driver;

	struct mutex mutex;
	struct list_head list;
	struct list_head card_list;

+0 −1
Original line number Diff line number Diff line
@@ -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;