]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: max9867: keep ADCs and DACs always on
authorPavel Dobias <dobias@2n.cz>
Fri, 22 May 2020 14:29:57 +0000 (16:29 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 22 May 2020 18:14:08 +0000 (19:14 +0100)
commit89f9798403f50edb22ebdf1bca9ff4d9783a6630
tree05a49c021b0839a37c62013e58d3fd1f093acede
parent95d5ce4e9e53ca5d4b2046ec712860db7c7522c9
ASoC: max9867: keep ADCs and DACs always on

Updating power management register requires toggling the shutdown
bit otherwise it causes unexpected behavior of the codec.
However, toggling the shutdown bit results in loud speaker crackling.
Setup the power management register only at startup to avoid that.

Signed-off-by: Pavel Dobias <dobias@2n.cz>
Link: https://lore.kernel.org/r/20200522142957.18364-3-dobias@2n.cz
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9867.c
sound/soc/codecs/max9867.h