diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-05-11 09:04:06 +0800 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-08-12 16:33:12 +0200 |
commit | 77afea45cd663215a4fe7fe6f68ae30c0f00a414 (patch) | |
tree | f8df37de100c7c3d504e7f9e7c63ea1bba9d9312 /sound/soc/codecs/wm8903.h | |
parent | 3a605ac1b42ff7cc0bb9d0735088c34260395015 (diff) | |
download | linux-stable-77afea45cd663215a4fe7fe6f68ae30c0f00a414.tar.gz linux-stable-77afea45cd663215a4fe7fe6f68ae30c0f00a414.tar.bz2 linux-stable-77afea45cd663215a4fe7fe6f68ae30c0f00a414.zip |
ASoC: wm8903: Fix define for WM8903_VMID_RES_250K
commit ebb6ad73e645b8f2d098dd3c41d2ff0da4146a02 upstream.
VMID Control 0 BIT[2:1] is VMID Divider Enable and Select
00 = VMID disabled (for OFF mode)
01 = 2 x 50kΩ divider (for normal operation)
10 = 2 x 250kΩ divider (for low power standby)
11 = 2 x 5kΩ divider (for fast start-up)
So WM8903_VMID_RES_250K should be 2 << 1, which is 4.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound/soc/codecs/wm8903.h')
-rw-r--r-- | sound/soc/codecs/wm8903.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8903.h b/sound/soc/codecs/wm8903.h index db949311c0f2..0bb4a647755d 100644 --- a/sound/soc/codecs/wm8903.h +++ b/sound/soc/codecs/wm8903.h @@ -172,7 +172,7 @@ extern int wm8903_mic_detect(struct snd_soc_codec *codec, #define WM8903_VMID_BUF_ENA_WIDTH 1 /* VMID_BUF_ENA */ #define WM8903_VMID_RES_50K 2 -#define WM8903_VMID_RES_250K 3 +#define WM8903_VMID_RES_250K 4 #define WM8903_VMID_RES_5K 6 /* |