]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e27b78674064e9094d0c74738828a9faefa913c
tree4af48c701581706e0150555d7b5076c388f55e36
parent48a9f3c417afee29624723cffa172db81f9291e7
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