ASoC: tlv320adcx140: Idle the device while writing registers
authorDan Murphy <dmurphy@ti.com>
Tue, 15 Sep 2020 19:06:01 +0000 (14:06 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 17 Sep 2020 13:47:12 +0000 (14:47 +0100)
commitdf16e2210454ca0b8a59caf364dd287fbb76a804
tree4af48c701581706e0150555d7b5076c388f55e36
parent73154aca4a03a2ab4833fd36683feb884af06d4b
ASoC: tlv320adcx140: Idle the device while writing registers

It was observed that if the device was active and register writes were
performed there were some unwanted behaviors particularly when writing
the word length and some filter options. So when writing to the device
the device should be placed in sleep mode and then exit sleep mode once
the register update is complete.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200915190606.1744-1-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320adcx140.c
sound/soc/codecs/tlv320adcx140.h