[alsa-devel] [RFC 00/12] Combining snd_soc_*_volsw/volsw_2r
Peter Ujfalusi
peter.ujfalusi at ti.com
Tue Oct 4 13:39:37 CEST 2011
Hello Mark,
This series will combine the snd_soc_*_volsw, and snd_soc_*_volsw_2r callbacks.
We are going to drop the volsw_r2 callbacks, and merge the support to the
_volsw functions.
In order to achieve this, the macros need to be adjusted, and also the drivers,
which were not using the macros to construct the soc_mixer_control needed to
be changed, so I'm not going to introduce any breakage, inconsistency.
This has been suggested in this thread:
http://mailman.alsa-project.org/pipermail/alsa-devel/2011-September/044287.html
By Mark in this mail (I hope I did not misunderstood it):
http://mailman.alsa-project.org/pipermail/alsa-devel/2011-September/044343.html
The use of the existing macros will not change, but underneath we are not going
to have two sets of functions for single, or double mixer controls.
I think the last 3 patch can be squashed, I did not wanted to touch the core,
and a codec driver in a same patch.
Generated on top of:
git://opensource.wolfsonmicro.com/linux-2.6-asoc, for-3.2 branch
Regards,
Peter
---
Peter Ujfalusi (12):
ASoC: core: Introduce SOC_DOUBLE_VALUE macro
ASoC: core: Introduce SOC_DOUBLE_R_VALUE macro
ASoC: Consolidate use of controls with custom get/put function
ASoC: twl6040: Simplify custom get_volsw callback
ASoC: twl6040: Simplify custom put_volsw callback
ASoC: twl6040: Prepare for core put_volsw/volsw_2r merger
ASoC: core: Change SOC_SINGLE/DOUBLE_VALUE representation
ASoC: core: Combine snd_soc_info_volsw/info_volsw_2r functions
ASoC: core: Combine snd_soc_get_volsw/get_volsw_2r functions
ASoC: core: Combine snd_soc_out_volsw/put_volsw_2r functions
ASoC: twl6040: Simply call snd_soc_put_volsw form the custom code
ASoC: core: Remove snd_soc_put_volsw_2r definition
include/sound/soc.h | 82 +++++++++++----------
sound/soc/codecs/tlv320aic23.c | 14 +---
sound/soc/codecs/twl4030.c | 48 +++---------
sound/soc/codecs/twl6040.c | 71 ++++--------------
sound/soc/codecs/wm8350.c | 39 ++++------
sound/soc/codecs/wm8580.c | 36 +++------
sound/soc/codecs/wm_hubs.c | 18 +---
sound/soc/soc-core.c | 161 +++++++++-------------------------------
8 files changed, 142 insertions(+), 327 deletions(-)
--
1.7.7
More information about the Alsa-devel
mailing list