linux-next: build failure after merge of the sound-asoc tree
Subsystems (3)
Hi all,
After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) failed like this:
In file included from include/linux/notifier.h:13:0,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:744,
from include/linux/gfp.h:5,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from sound/soc/codecs/hdmi-codec.c:15:sound/soc/codecs/hdmi-codec.c: In function 'hdmi_eld_ctl_get':sound/soc/codecs/hdmi-codec.c:68:17: error: 'struct hdmi_codec_priv' has no member named 'eld_lock'
mutex_lock(&hcp->eld_lock);
^
include/linux/mutex.h:146:44: note: in definition of macro 'mutex_lock'
#define mutex_lock(lock) mutex_lock_nested(lock, 0)
^
sound/soc/codecs/hdmi-codec.c:70:19: error: 'struct hdmi_codec_priv' has no member named 'eld_lock'
mutex_unlock(&hcp->eld_lock);
^Caused by commit
81151cfb6bfe ("ASoC: hdmi-codec: Add ELD control")
I have used the sound-asoc tree from next-20160421 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Am Freitag, den 22.04.2016, 12:03 +1000 schrieb Stephen Rothwell:
Quoted 23 lines
Hi all,
After merging the sound-asoc tree, today's linux-next build (
x86_64allmodconfig) failed like this:In file included from
include/linux/notifier.h:13:0,
frominclude/linux/memory_hotplug.h:6,
frominclude/linux/mmzone.h:744,
frominclude/linux/gfp.h:5,
frominclude/linux/kmod.h:22,
frominclude/linux/module.h:13,
fromsound/soc/codecs/hdmi-codec.c:15:sound/soc/codecs/hdmi-codec.c: In function 'hdmi_eld_ctl_get':sound/soc/codecs/hdmi-codec.c:68:17: error: 'structhdmi_codec_priv' has no member named 'eld_lock'mutex_lock(&hcp->eld_lock); ^ include/linux/mutex.h:146:44: note: in definition of macro 'mutex_lock' #define mutex_lock(lock) mutex_lock_nested(lock, 0) ^ sound/soc/codecs/hdmi-codec.c:70:19: error: 'struct hdmi_codec_priv' has no member named 'eld_lock' mutex_unlock(&hcp->eld_lock); ^
Quoted 5 lines
Caused by commit
81151cfb6bfe("ASoC: hdmi-codec: Add ELD control")I have used the sound-asoc tree from next-20160421 for today.
Sorry, the mutex_lock slipped through when reordering the patches. That should be part of the "Use HDMI notifications to add jack support" patch instead.
regards
Philipp
--------8<--------
From: Philipp Zabel <[email protected]>
Subject: [PATCH] fixup! ASoC: hdmi-codec: Add ELD control
--- sound/soc/codecs/hdmi-codec.c | 2 -- 1 file changed, 2 deletions(-)
sound/soc/codecs/hdmi-codec.c +0 -2
@@ -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 ; }
Signature · 1 line
2.8.0.rc3
Mark Brown
maintainerQuoted 3 lines · Philipp Zabel
--------8<--------
From: Philipp Zabel <[email protected]>
Subject: [PATCH] fixup! ASoC: hdmi-codec: Add ELD control
Please don't bury patches in the middle of e-mails.
Mark Brown
maintainerQuoted 3 lines · Philipp Zabel
--------8<--------
From: Philipp Zabel <[email protected]>
Subject: [PATCH] fixup! ASoC: hdmi-codec: Add ELD control
Please also use subject lines that match the style for the subsystem.