]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic31xx: Do not force power on the DAC/ADC in clock master mode
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 19 Feb 2018 09:45:08 +0000 (11:45 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 19 Feb 2018 11:35:30 +0000 (11:35 +0000)
commitc033d567e7751eacc61b3098ee93ee59360d9cea
tree68d0c267c37b50ce78f16314b3c0bfa997d80b2d
parent49d257d29362caf174c9b26c5cbe6cfc557193db
ASoC: tlv320aic31xx: Do not force power on the DAC/ADC in clock master mode

With P0 R29, Bit2 set the I2S clocks will be running when the DAC/ADC is
powered down, but still the codec need to be powered up by needing at least
one complete DAPM path for the stream.

If the AIF is not needed (analog loopback for example) the I2S clocks will
not run as they are not needed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Suggested-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic31xx.c
sound/soc/codecs/tlv320aic31xx.h