ASoC: twl4030: Correct the support for Voice port
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 31 Dec 2012 10:51:42 +0000 (11:51 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 Jan 2013 13:04:24 +0000 (13:04 +0000)
commit927a77476ed37080793f0e9d3211359f2d480d4d
tree02cc0b4b9e5b2bba55f5a726375352f4cb91910b
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565
ASoC: twl4030: Correct the support for Voice port

In order to be able to use the Voice port of twl4030 three bits need to be
handled in VOICE_IF register:
VIF_EN: to enable the voice port (needed for both playback and capture)
VIF_DIN_EN: Need to be enabled for playback only (input to the codec)
VIF_DOUT_EN: Need to be enabled for capture only (output from codec)

Use DAPM_SUPPLY for the VIF_EN bit and add DAPM_AIF_IO/OUT widget to handle
the playback/capture bit.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c
This page took 0.027144 seconds and 5 git commands to generate.