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>
This commit is contained in:
parent
3e4199ef01
commit
bd6b87c104
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue