From: Peter Ujfalusi Date: Mon, 31 Dec 2012 10:51:42 +0000 (+0100) Subject: ASoC: twl4030: Correct the support for Voice port X-Git-Tag: v3.9-rc1~129^2~24^2~8^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=927a77476ed37080793f0e9d3211359f2d480d4d;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed