ASoC: TWL4030: Add control for selecting codec operation mode
authorLopez Cruz, Misael <x0052729@ti.com>
Mon, 18 May 2009 16:52:55 +0000 (11:52 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 19 May 2009 09:35:11 +0000 (10:35 +0100)
Add a control for selecting the codec operation mode. TWL4030 codec
has two modes:
- Option 1. Audio only (4 audio DACs)
- Option 2. Voice/Audio (2 audio DACs and voice ADC/DAC)

Control is restricted when a stream is ongoing, since codec's
operation mode cannot be changed on-the-fly.

Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Acked-by: Peter Ujflausi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found