]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: wm9081: Fix setting soft VMID ramp enable with VMID 2*240k
authorAxel Lin <axel.lin@gmail.com>
Mon, 17 Oct 2011 04:34:31 +0000 (12:34 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 20 Oct 2011 13:48:22 +0000 (14:48 +0100)
commit9f9619a0785f8eee42edf731fd18189faa5a7ce8
treefb56d54dfecaf2ecfb1899ed53d1518b5981ba34
parent24441e17feb57668e4c5013750cef549bf3c4861
ASoC: wm9081: Fix setting soft VMID ramp enable with VMID 2*240k

According to the datasheet:
BIT 2:1
        VMID_SEL[1:0] VMID Divider Enable and Select
        00 = VMID disabled
        01 = 2x40k Omh divider
        10 = 2x240k Omh divider
        11 = 2x5k Omh divider

To set VMID 2*240k, we should OR reg with 0x04 instead of 0x40.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm9081.c