OSDN Git Service

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)
commit18d545bb2599d6e5b0747351eaeebb0160d261f9
treef075d88149e476744f562bfe4b41f78493dab10c
parente03546ddd3db5352a74dec247dbdaa29889e93f7
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