]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.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)
commitc42a59ea277a8898b8f7c83fc89b00be225ea6aa
treecd34d83d0ffef7ee6bc000ab040c8315b41a7623
parentc0ff4bcd2e8505b09e0bedc74d08ad2da1e326f8
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