ASoC: wm8737: Fixup setting VMID Impedance control register
authorAxel Lin <axel.lin@ingics.com>
Sun, 10 May 2015 03:35:06 +0000 (11:35 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 13 May 2015 11:49:06 +0000 (12:49 +0100)
commit14ba3ec1de043260cecd9e828ea2e3a0ad302893
tree9c5bbcac060dcb1df2683dd485dce6f9b6de3161
parentb787f68c36d49bb1d9236f403813641efa74a031
ASoC: wm8737: Fixup setting VMID Impedance control register

According to the datasheet:
R10 (0Ah) VMID Impedance Control

BIT 3:2 VMIDSEL DEFAULT 00

DESCRIPTION: VMID impedance selection control
00: 75kΩ output
01: 300kΩ output
10: 2.5kΩ output

WM8737_VMIDSEL_MASK is 0xC (VMIDSEL - [3:2]),
so it needs to left shift WM8737_VMIDSEL_SHIFT bits for setting these bits.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8737.c