From: Lars-Peter Clausen Date: Wed, 5 Nov 2014 16:19:53 +0000 (+0100) Subject: ASoC: ad193x: Keep DAC output stage active in idle X-Git-Tag: omap-for-v3.20/drop-legacy-3517~123^2~20^2~23^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b86a3fa4eb3c7a6d738fa21475b92493f8952b1;p=pandora-kernel.git ASoC: ad193x: Keep DAC output stage active in idle Setting the DAC power-down bit for the ad193x will also disable the DAC output amplifier. This will cause audible clicks and pops when starting or stopping playback. To prevent this a new widget is introduced that controls the DAC power-down bit. This widget is connected to both the DAC and a newly introduced VMID widget. This makes sure that the DAC power-down bit is not set as long as a audio sink is connected to the DAC output. At the same time the PLL and SYSCLK will still be disabled when no playback or capture stream is active. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed