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)
commita16be2a6e2ffa8ad5e24e96289f317e1b5b8c17a
tree68d0c267c37b50ce78f16314b3c0bfa997d80b2d
parent7d41bc28e9fa3fed28691019ca0fe36ed68d7b86
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