]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: TWL4030: Add supply for audio serial interface control
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Tue, 9 Feb 2010 13:24:04 +0000 (15:24 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 10 Feb 2010 11:14:13 +0000 (11:14 +0000)
commitc012856cae96fef35f21cdeb1621c0ad0b95505e
treecd34d83d0ffef7ee6bc000ab040c8315b41a7623
parent6475d2ecf1c7baf53c138bcbb5eb296abfb110ad
ASoC: TWL4030: Add supply for audio serial interface control

The serial interface (TDM/I2S) for the audio block have been
constantly enabled.
Introduce a new DAPM_SUPPLY for handling the AIF_EN bit, so
the interface is only enabled, when there is a need for it.
For example when only the analog loopback is enabled, there
is no need to keep the serial interface active.

I have added the persons who contributed to the Voice path
of twl4030 codec driver, so they might have the ability
to test this patch, and send an update for the Voice path,
if it is necessary

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c