ASoC: TWL4030: Add DAPM event handler for output MUX selection
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Tue, 9 Dec 2008 10:35:46 +0000 (12:35 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 9 Dec 2008 10:49:21 +0000 (10:49 +0000)
commite8ff9c417ad6e8f7ef253e36f9d6e22dc2aa2512
treea0525ec25eb3f50cf2ed9af4cfd3eb0dfa838ef4
parent44c5587035fbbdd368a3d5d8d11997d43758078a
ASoC: TWL4030: Add DAPM event handler for output MUX selection

DAPM event handler is set to filter out invalid MUX settings
for certain outputs.
Earpiece:
 - 0 = Off
 - 1 = DACL1
 - 2 = DACL2
 - 3 = *** Invalid ***
 - 4 = DACR1

PreDriveL/R:
 - 0 = Off/Off
 - 1 = DACL1/DACR1
 - 2 = DACL2/DACR2
 - 3 = *** Invalid/Invalid ***
 - 4 = DACR2/DACL2

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c