aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-10-06 00:43:21 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-06 15:02:55 -0400
commita92f1394a184191d904872e0d3b8ef0c158e5021 (patch)
tree8f5927c96da1e178e6a762d1f210f3731319fa1a /include/sound/soc.h
parent143d62a45b5f976067a8d705f7fae26a402651f9 (diff)
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 <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
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,
393 struct snd_ctl_elem_value *ucontrol); 393 struct snd_ctl_elem_value *ucontrol);
394int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, 394int snd_soc_put_volsw(struct snd_kcontrol *kcontrol,
395 struct snd_ctl_elem_value *ucontrol); 395 struct snd_ctl_elem_value *ucontrol);
396#define snd_soc_get_volsw_2r snd_soc_get_volsw
397#define snd_soc_put_volsw_2r snd_soc_put_volsw
396int snd_soc_info_volsw_s8(struct snd_kcontrol *kcontrol, 398int snd_soc_info_volsw_s8(struct snd_kcontrol *kcontrol,
397 struct snd_ctl_elem_info *uinfo); 399 struct snd_ctl_elem_info *uinfo);
398int snd_soc_get_volsw_s8(struct snd_kcontrol *kcontrol, 400int snd_soc_get_volsw_s8(struct snd_kcontrol *kcontrol,