diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-07-22 11:27:45 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-22 10:49:02 +0100 |
commit | b101acfabc9377469af3abfb7cb63112da367284 (patch) | |
tree | 423b284ce9d4656d2cd726c73c5681d5421f4be0 /sound/soc/codecs/sgtl5000.h | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) | |
download | linux-stable-b101acfabc9377469af3abfb7cb63112da367284.tar.gz linux-stable-b101acfabc9377469af3abfb7cb63112da367284.tar.bz2 linux-stable-b101acfabc9377469af3abfb7cb63112da367284.zip |
ASoC: sgtl5000: Fix up define for SGTL5000_SMALL_POP
Currently, below code actually does not update any bit because
SGTL5000_SMALL_POP is 0.
snd_soc_update_bits(codec, SGTL5000_CHIP_REF_CTRL, SGTL5000_SMALL_POP, 1);
The SGTL5000_SMALL_POP should be BIT(0) rather than 0, fix it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-By: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/sgtl5000.h')
-rw-r--r-- | sound/soc/codecs/sgtl5000.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.h b/sound/soc/codecs/sgtl5000.h index bd7a344bf8c5..1c317de26176 100644 --- a/sound/soc/codecs/sgtl5000.h +++ b/sound/soc/codecs/sgtl5000.h @@ -275,7 +275,7 @@ #define SGTL5000_BIAS_CTRL_MASK 0x000e #define SGTL5000_BIAS_CTRL_SHIFT 1 #define SGTL5000_BIAS_CTRL_WIDTH 3 -#define SGTL5000_SMALL_POP 0 +#define SGTL5000_SMALL_POP 1 /* * SGTL5000_CHIP_MIC_CTRL |