]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: wm8903: Fix define for WM8903_VMID_RES_250K
authorAxel Lin <axel.lin@ingics.com>
Mon, 11 May 2015 01:04:06 +0000 (09:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:03 +0000 (09:29 -0700)
commit142796fdb1a12dfc52a5dfa152849b19b62ef3bf
tree3d24fb73c4df68973641b2f4c169d3c8eef0066a
parent98384697170b16d11a47d3e192ee4a0f5f8d7970
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wm8903.h