Peter Ujfalusi b0bd53a739 ASoC: TWL4030: Add helper function for output gain controls
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.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2008-11-24 14:05:40 +00:00
..
2008-09-09 09:10:52 +02:00
2008-09-04 10:33:55 +02:00
2008-05-27 15:56:20 +02:00
2007-02-09 09:03:54 +01:00
2008-09-06 11:43:41 +02:00
2008-01-31 17:29:48 +01:00
2007-05-21 09:18:19 -07:00