ASoC: tlv320aic31xx: Add short circuit detection support
authorAndrew F. Davis <afd@ti.com>
Fri, 31 Aug 2018 18:24:31 +0000 (13:24 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 3 Sep 2018 13:04:03 +0000 (14:04 +0100)
commit80863ee222d37b1797cea74d2257ad6d68444d30
tree149ed9a17aab661ba9e35b2bd342b0c417fb1b3a
parent63a886f38dd96868e33488eccee8ed427144d397
ASoC: tlv320aic31xx: Add short circuit detection support

These devices support detecting and reporting short circuits across
the output stages. Add support for reporting these issue. Do this
by registering an interrupt if available and enabling this error
to trigger that interrupt in the device.

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