ASoC: ad193x: Keep DAC output stage active in idle
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 5 Nov 2014 16:19:53 +0000 (17:19 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 5 Nov 2014 16:33:08 +0000 (16:33 +0000)
commit1b86a3fa4eb3c7a6d738fa21475b92493f8952b1
tree2a3626c7bd56a3d8cfd88b0ebcbeb07be8a70f86
parentf114040e3ea6e07372334ade75d1ee0775c355e1
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 <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ad193x.c
This page took 0.027325 seconds and 5 git commands to generate.