ASoC: Allow more routing features for tlv320aic3x
authorDaniel Mack <daniel@caiaq.org>
Wed, 26 Nov 2008 16:47:36 +0000 (17:47 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 26 Nov 2008 18:30:59 +0000 (18:30 +0000)
commit54f01916297bafc18bd7df4e2300a0544a84fce3
tree0f4a819087c89004bd059036d7518ed95bedd833
parent414ff491b2ab68359c7a2037b30ccfea20d829d4
ASoC: Allow more routing features for tlv320aic3x

This patch enables more routing functions for tlv320aic3x codecs.
It is now possible to

 - control the volume of the PGA bypass path for the HPL, HPR, HPLCOM
   and HPRCOM outputs individually
 - route right line1 input to the left ADC channel
 - route left line1 input to the right ADC channel
 - route right mic3 input to left DAC channel
 - route left mic3 input to right DAC channel
 - route left line1 input to right line1 output
 - route right line1 input to left line1 output

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic3x.c
sound/soc/codecs/tlv320aic3x.h