[alsa-devel] [PATCH 02/10] ASoC: twl6040: Combine the custom volsw get, and put functions

Péter Ujfalusi peter.ujfalusi at ti.com
Tue Sep 27 14:55:35 CEST 2011


On Tuesday 27 September 2011 12:42:44 Mark Brown wrote:
> On Tue, Sep 27, 2011 at 02:21:37PM +0300, Péter Ujfalusi wrote:
> > In case of SOC_SINGLE_TLV I (will) need to call snd_soc_put_volsw
> > In case of SOC_DOUBLE_TLV I need to call  snd_soc_put_volsw
> > In case of SOC_DOUBLE_R_TLV I need to call  snd_soc_put_volsw_2r.
> 
> Or we could just update the macros and unify all the operations which
> might be easier overall?

If we can save few LOC, it might worth doing it.
I can take a look at this, but I think it is going to be 3.3 material.

--
Péter


More information about the Alsa-devel mailing list