diff options
| author | Axel Lin <axel.lin@ingics.com> | 2015-05-10 11:35:06 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 19:30:00 +0200 |
| commit | d3f9a2dd28111b57b7ff805fb08246070e681413 (patch) | |
| tree | e7746b091341bdd25dba0b0817912313eb048396 /include/linux/dynamic_debug.h | |
| parent | 1605d9e79b9c729afb63a57ca4cc9296144d81be (diff) | |
ASoC: wm8737: Fixup setting VMID Impedance control register
commit 14ba3ec1de043260cecd9e828ea2e3a0ad302893 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include/linux/dynamic_debug.h')
0 files changed, 0 insertions, 0 deletions
