summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-04-22 08:40:11 (GMT)
committerMark Brown <broonie@kernel.org>2016-04-22 09:21:13 (GMT)
commitdb71336b9eec22c21cef65c90cea49130c464994 (patch)
tree5436adddf83eb7215dcc0fb8e712a90958a59ffb /sound
parent81151cfb6bfe69f1c5a52b795eb005226a322c9e (diff)
downloadlinux-db71336b9eec22c21cef65c90cea49130c464994.tar.xz
ASoC: hdmi-codec: Add ELD control
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/hdmi-codec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c
index c78333b..8e36e88 100644
--- a/sound/soc/codecs/hdmi-codec.c
+++ b/sound/soc/codecs/hdmi-codec.c
@@ -65,9 +65,7 @@ static int hdmi_eld_ctl_get(struct snd_kcontrol *kcontrol,
struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
struct hdmi_codec_priv *hcp = snd_soc_component_get_drvdata(component);
- mutex_lock(&hcp->eld_lock);
memcpy(ucontrol->value.bytes.data, hcp->eld, sizeof(hcp->eld));
- mutex_unlock(&hcp->eld_lock);
return 0;
}