]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1d963135c01f52de3504256f0aa64675f248e10
treefdb66729aaffc6f0b678161c1314c231a0f1e76a
parentc296cd632bd5cb4881be2c33325a82840a753a02
ASoC: TWL4030: Add control for selecting codec operation mode

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>
sound/soc/codecs/twl4030.c