ASoC: build fix for snd_soc_info_bool_ext
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.
Signed-off-by Philipp Zabel <[email protected]>
--- include/sound/soc.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/sound/soc.h +1 -1
@@ -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_infoint 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
Quoted 4 lines · Philipp Zabel
???I suspect that ???snd_ctl_boolean_mono should have been
snd_ctl_boolean_mono_infoinstead. This fixes the build for magician.Signed-off-by Philipp Zabel <[email protected]>
Looks like you're right there - thanks.
Acked-by Mark Brown <[email protected]>
Takashi Iwai
AppliedAt 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_infoinstead. This fixes the build for magician.Signed-off-by Philipp Zabel <[email protected]>Looks like you're right there - thanks.
Acked-by Mark Brown <[email protected]>
Applied to ALSA tree now.
thanks,
Takashi