projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81151cf
)
ASoC: hdmi-codec: Add ELD control
author
Philipp Zabel
<p.zabel@pengutronix.de>
Fri, 22 Apr 2016 08:40:11 +0000
(10:40 +0200)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/hdmi-codec.c
b/sound/soc/codecs/hdmi-codec.c
index c78333b4311dd5b3dbb03b13733bb0f1f5b03512..8e36e883e453e6bda2a770cd9caa515ff0c20fce 100644
(file)
--- 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;
}