diff options
Diffstat (limited to 'sound/soc/codecs/wcd9335.c')
-rw-r--r-- | sound/soc/codecs/wcd9335.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c index 2bc911e63e12..bb99e98f34e2 100644 --- a/sound/soc/codecs/wcd9335.c +++ b/sound/soc/codecs/wcd9335.c @@ -2580,6 +2580,7 @@ static int slim_tx_mixer_put(struct snd_kcontrol *kcontrol, if (dai_id >= ARRAY_SIZE(vport_i2s_check_table)) { dev_err(codec->dev, "%s: dai_id: %d, out of bounds\n", __func__, dai_id); + mutex_unlock(&tasha_p->codec_mutex); return -EINVAL; } vtable = vport_i2s_check_table[dai_id]; |