commit | 14ba3ec1de043260cecd9e828ea2e3a0ad302893 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun May 10 11:35:06 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed May 13 12:49:06 2015 +0100 |
tree | 9c5bbcac060dcb1df2683dd485dce6f9b6de3161 | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 [diff] |
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