[alsa-devel] [PATCH 4/9] ASoC: TWL4030: Add helper function for output gain controls

Mark Brown broonie at sirena.org.uk
Mon Nov 24 14:57:35 CET 2008


On Mon, Nov 24, 2008 at 01:49:38PM +0200, Peter Ujfalusi wrote:
> Some of the gain controls in TWL (mostly those which are associated with
> the outputs) are implemented in an interesting way:
>  0x0 : Power down (mute)
>  0x1 : 6dB
>  0x2 : 0 dB
>  0x3 : -6 dB
> Inverting not going to help with these.
> Custom volsw and volsw_2r get/put functions to handle these gains.

Applied.


More information about the Alsa-devel mailing list