ASoC: hdmi-codec: Add ELD control
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 22 Apr 2016 08:40:11 +0000 (10:40 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 22 Apr 2016 09:21:13 +0000 (10:21 +0100)
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c

index c78333b4311dd5b3dbb03b13733bb0f1f5b03512..8e36e883e453e6bda2a770cd9caa515ff0c20fce 100644 (file)
@@ -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;
 }