Skip to content

Commit

Permalink
ASoC: hdmi-codec: Add ELD control
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Philipp Zabel authored and Mark Brown committed Apr 22, 2016
1 parent 81151cf commit db71336
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/soc/codecs/hdmi-codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit db71336

Please sign in to comment.