[alsa-devel] [PATCH] 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 philipp.zabel@gmail.com
--- include/sound/soc.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/sound/soc.h b/include/sound/soc.h index e6ea6f7..d3c8c03 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -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,
On Sat, May 10, 2008 at 02:07:39PM +0200, Philipp Zabel wrote:
???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 philipp.zabel@gmail.com
Looks like you're right there - thanks.
Acked-by: Mark Brown broonie@opensource.wolfsonmicro.com
At Sat, 10 May 2008 15:37:36 +0100, Mark Brown wrote:
On Sat, May 10, 2008 at 02:07:39PM +0200, Philipp Zabel wrote:
???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 philipp.zabel@gmail.com
Looks like you're right there - thanks.
Acked-by: Mark Brown broonie@opensource.wolfsonmicro.com
Applied to ALSA tree now.
thanks,
Takashi
participants (3)
-
Mark Brown
-
Philipp Zabel
-
Takashi Iwai