ASoC: TWL4030: Add digital loopback support
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Wed, 18 Feb 2009 12:39:05 +0000 (14:39 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 18 Feb 2009 17:14:23 +0000 (17:14 +0000)
commit6bab83fd886564e96abcff62862732159535f600
treec1dbe48756e7b21aa5eb00a757181a50f7f84c02
parent93b760b7072ca6972c15c798e97af3f830d8bbba
ASoC: TWL4030: Add digital loopback support

This patch adds the digital loopback/bypass support for twl4030 codec.

The digital loopback will let the digimic0 (routed in the TX1 capture path
inside of TWL4030) data to be routed back to the RX2 playback path
(I2S stereo). It can also route the analog capture date routed through the
TX1 back to RX2.

Effectively the digital loopback is routing the audio from the TX1 capture path
to the RX2 playback path.

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