From: Peter Ujfalusi Date: Thu, 6 Oct 2011 04:43:21 +0000 (+0300) Subject: ASoC: fix codec breakage caused by the volsw/volsw_2r merger X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a92f1394a184191d904872e0d3b8ef0c158e5021;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: fix codec breakage caused by the volsw/volsw_2r merger By accident few places still uses the _2r calls from the core. This is a quick fix, the drivers using the old callbacks going to be changed. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- diff --git a/include/sound/soc.h b/include/sound/soc.h index 88ba85a422fb..858291dc08f9 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -393,6 +393,8 @@ int snd_soc_get_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); +#define snd_soc_get_volsw_2r snd_soc_get_volsw +#define snd_soc_put_volsw_2r snd_soc_put_volsw int snd_soc_info_volsw_s8(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); int snd_soc_get_volsw_s8(struct snd_kcontrol *kcontrol,