diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-10 12:21:50 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-10 12:21:50 +0000 |
commit | a18a31a161d5bd4cc5786aa91a2847fbc1bde36e (patch) | |
tree | 3cd90dee666d8e9cb6d6905e276f55c9b11f38cd /include/sound | |
parent | ae1abb0c3be542555eac0509822373c86307a841 (diff) | |
parent | d3bf1561253383a3dbcc40afdb2b039d56093a3e (diff) | |
download | op-kernel-dev-a18a31a161d5bd4cc5786aa91a2847fbc1bde36e.zip op-kernel-dev-a18a31a161d5bd4cc5786aa91a2847fbc1bde36e.tar.gz |
Merge remote-tracking branch 'asoc/fix/core' into tmp
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 769e27c..bc56738 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -58,8 +58,9 @@ .info = snd_soc_info_volsw_range, .get = snd_soc_get_volsw_range, \ .put = snd_soc_put_volsw_range, \ .private_value = (unsigned long)&(struct soc_mixer_control) \ - {.reg = xreg, .shift = xshift, .min = xmin,\ - .max = xmax, .platform_max = xmax, .invert = xinvert} } + {.reg = xreg, .rreg = xreg, .shift = xshift, \ + .rshift = xshift, .min = xmin, .max = xmax, \ + .platform_max = xmax, .invert = xinvert} } #define SOC_SINGLE_TLV(xname, reg, shift, max, invert, tlv_array) \ { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ .access = SNDRV_CTL_ELEM_ACCESS_TLV_READ |\ @@ -88,8 +89,9 @@ .info = snd_soc_info_volsw_range, \ .get = snd_soc_get_volsw_range, .put = snd_soc_put_volsw_range, \ .private_value = (unsigned long)&(struct soc_mixer_control) \ - {.reg = xreg, .shift = xshift, .min = xmin,\ - .max = xmax, .platform_max = xmax, .invert = xinvert} } + {.reg = xreg, .rreg = xreg, .shift = xshift, \ + .rshift = xshift, .min = xmin, .max = xmax, \ + .platform_max = xmax, .invert = xinvert} } #define SOC_DOUBLE(xname, reg, shift_left, shift_right, max, invert) \ { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname),\ .info = snd_soc_info_volsw, .get = snd_soc_get_volsw, \ |