diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2018-12-04 19:19:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-12-07 13:20:40 +0100 |
commit | 29f58ff06795a923407d011d4721eaf3e8d39acc (patch) | |
tree | 98a008a92de60cf9c5c96b2091cddf70381466b0 /sound/soc/codecs/max9867.h | |
parent | ASoC: max9867: Remove useless assignment (diff) | |
download | linux-29f58ff06795a923407d011d4721eaf3e8d39acc.tar.xz linux-29f58ff06795a923407d011d4721eaf3e8d39acc.zip |
ASoC: max9867: Fix power management
Implement set_bias_level to drive shutdown bit, so device is
put to sleep when unused.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max9867.h')
-rw-r--r-- | sound/soc/codecs/max9867.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max9867.h b/sound/soc/codecs/max9867.h index 55cd9976ff47..d9170850c96e 100644 --- a/sound/soc/codecs/max9867.h +++ b/sound/soc/codecs/max9867.h @@ -67,7 +67,7 @@ #define MAX9867_MICCONFIG 0x15 #define MAX9867_MODECONFIG 0x16 #define MAX9867_PWRMAN 0x17 -#define MAX9867_SHTDOWN_MASK (1<<7) +#define MAX9867_SHTDOWN 0x80 #define MAX9867_REVISION 0xff #define MAX9867_CACHEREGNUM 10 |