summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/max9867.h
diff options
context:
space:
mode:
authorPavel Dobias <dobias@2n.cz>2020-05-22 17:29:57 +0300
committerMark Brown <broonie@kernel.org>2020-05-22 21:14:08 +0300
commit29c859df7b52080f0809b8a0b9d7b86fff379ef9 (patch)
tree05a49c021b0839a37c62013e58d3fd1f093acede /sound/soc/codecs/max9867.h
parent980b63f8d040a791e8d751b8065d12ad7865f976 (diff)
downloadlinux-29c859df7b52080f0809b8a0b9d7b86fff379ef9.tar.xz
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>
Diffstat (limited to 'sound/soc/codecs/max9867.h')
-rw-r--r--sound/soc/codecs/max9867.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/max9867.h b/sound/soc/codecs/max9867.h
index d459d49449cb..3092c3b99075 100644
--- a/sound/soc/codecs/max9867.h
+++ b/sound/soc/codecs/max9867.h
@@ -58,7 +58,6 @@
#define MAX9867_MICCONFIG 0x15
#define MAX9867_MODECONFIG 0x16
#define MAX9867_PWRMAN 0x17
-#define MAX9867_SHTDOWN 0x80
#define MAX9867_REVISION 0xff
#define MAX9867_CACHEREGNUM 10