diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2018-02-19 12:45:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-19 14:35:30 +0300 |
commit | a16be2a6e2ffa8ad5e24e96289f317e1b5b8c17a (patch) | |
tree | 68d0c267c37b50ce78f16314b3c0bfa997d80b2d /sound/soc/codecs/tlv320aic31xx.h | |
parent | 7d41bc28e9fa3fed28691019ca0fe36ed68d7b86 (diff) | |
download | linux-a16be2a6e2ffa8ad5e24e96289f317e1b5b8c17a.tar.xz |
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>
Diffstat (limited to 'sound/soc/codecs/tlv320aic31xx.h')
-rw-r--r-- | sound/soc/codecs/tlv320aic31xx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320aic31xx.h b/sound/soc/codecs/tlv320aic31xx.h index 15ac7cba86fe..0b587585b38b 100644 --- a/sound/soc/codecs/tlv320aic31xx.h +++ b/sound/soc/codecs/tlv320aic31xx.h @@ -160,6 +160,7 @@ struct aic31xx_pdata { #define AIC31XX_DACMOD2BCLK 0x01 #define AIC31XX_ADC2BCLK 0x02 #define AIC31XX_ADCMOD2BCLK 0x03 +#define AIC31XX_KEEP_I2SCLK BIT(2) /* AIC31XX_ADCFLAG */ #define AIC31XX_ADCPWRSTATUS_MASK BIT(6) |