]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic31xx: Add overflow detection support
authorAndrew F. Davis <afd@ti.com>
Tue, 4 Sep 2018 15:36:17 +0000 (10:36 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 4 Sep 2018 15:50:51 +0000 (16:50 +0100)
commit3187e029b2ac4afa319387fb9a07ee9ab02f26ac
treef075d88149e476744f562bfe4b41f78493dab10c
parent3c4a372e3f6d3898136a7107e431d81da6c710d2
ASoC: tlv320aic31xx: Add overflow detection support

Similar to short circuit detection, when the ADC/DAC is saturated and
overflows poor audio quality can result and should be reported to the
user. This device support Automatic Dynamic Range Compression (DRC)
to reduce this but it is not enabled currently in this driver.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic31xx.c
sound/soc/codecs/tlv320aic31xx.h