summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2008-11-24 12:49:38 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 15:05:40 +0100
commitb0bd53a7399f65e2d1b37cd44c5003e55b886c1e (patch)
treeb79033f663fd326322c7c91b01c57724f6ee4c7d /include/sound
parentASoC: TWL4030: Add CGAIN volume control (diff)
downloadlinux-b0bd53a7399f65e2d1b37cd44c5003e55b886c1e.tar.xz
linux-b0bd53a7399f65e2d1b37cd44c5003e55b886c1e.zip
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>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions