Skip to contentSkip to conversation

ASoC: build fix for snd_soc_info_bool_ext

PATCH Applied Philipp Zabel 3 participants 3 messages May 10, 2008 – May 13, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: build fix for snd_soc_info_bool_ext

I suspect that snd_ctl_boolean_mono should have been snd_ctl_boolean_mono_info instead. This fixes the build for magician.

---
 include/sound/soc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/sound/soc.h +1 -1
index e6ea6f7..d3c8c03 100644
@@ -238,7 +238,7 @@ int snd_soc_info_volsw(struct snd_kcontrol *kcontrol,
 	struct snd_ctl_elem_info *uinfo);
 int snd_soc_info_volsw_ext(struct snd_kcontrol *kcontrol,
 	struct snd_ctl_elem_info *uinfo);
-#define snd_soc_info_bool_ext		snd_ctl_boolean_mono
+#define snd_soc_info_bool_ext		snd_ctl_boolean_mono_info
 int snd_soc_get_volsw(struct snd_kcontrol *kcontrol,
 	struct snd_ctl_elem_value *ucontrol);
 int snd_soc_put_volsw(struct snd_kcontrol *kcontrol,
Signature · 7 lines
1.5.5.1


_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Applied
#2 lore raw

At Sat, 10 May 2008 15:37:36 +0100,

Quoted 11 lines · Mark Brown
Quoted 4 lines · Philipp Zabel

???I suspect that ???snd_ctl_boolean_mono should have been snd_ctl_boolean_mono_info instead. This fixes the build for magician.

Looks like you're right there - thanks.

Applied to ALSA tree now.

thanks,

Takashi