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-11-21 14:12:10 +00:00
2008-07-10 09:32:39 +02:00
2008-11-21 14:35:07 +00:00
2008-09-09 09:10:54 +02:00
2008-11-04 18:03:21 +01:00
2008-10-13 02:16:12 +02:00
2008-11-21 14:12:10 +00:00
2008-09-04 10:34:21 +02:00
2008-11-21 14:12:10 +00:00
2008-07-10 09:32:39 +02:00
2008-11-19 13:16:38 +00:00
2008-11-17 11:45:39 +00:00
2008-11-19 13:16:38 +00:00
2008-11-19 13:16:38 +00:00
2008-11-19 13:16:38 +00:00
2008-11-21 14:12:10 +00:00
2008-09-09 09:11:15 +02:00
2008-11-21 14:12:10 +00:00
2008-10-10 13:41:45 +02:00
2008-11-21 14:12:10 +00:00
2008-10-13 02:16:48 +02:00
2008-11-21 14:12:10 +00:00
2008-07-29 21:32:25 +02:00
2008-11-24 14:05:40 +00:00
2008-10-31 12:33:27 +00:00
2008-11-21 14:12:10 +00:00
2008-11-18 12:32:33 +00:00
2008-11-21 14:12:10 +00:00
2008-09-04 10:34:20 +02:00
2008-11-21 14:12:10 +00:00
2008-10-13 02:17:15 +02:00
2008-11-21 14:12:10 +00:00
2008-10-16 08:50:17 +02:00
2008-11-21 14:12:10 +00:00
2008-11-14 14:44:53 +00:00
2008-11-21 14:12:10 +00:00
2008-09-04 10:34:27 +02:00
2008-11-21 14:12:10 +00:00
2008-09-23 08:18:19 +02:00
2008-11-21 14:12:10 +00:00
2008-10-13 02:26:42 +02:00
2008-11-21 14:12:10 +00:00
2008-10-16 08:50:41 +02:00
2008-11-21 14:12:10 +00:00
2008-08-29 10:05:47 +02:00
2008-11-21 14:12:10 +00:00
2008-09-23 08:18:05 +02:00
2008-11-21 14:12:10 +00:00
2008-11-17 17:24:54 +00:00
2008-11-21 14:35:07 +00:00
2008-07-10 09:32:39 +02:00
2008-11-24 14:05:34 +00:00
2008-07-10 09:32:39 +02:00