]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: cs42l52: Fix mask for REVID
authorAxel Lin <axel.lin@ingics.com>
Sat, 5 Apr 2014 16:04:35 +0000 (00:04 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 7 Apr 2014 09:48:50 +0000 (10:48 +0100)
commita14bf88749c5b54bb9c636bcd47c26ea79560ce5
tree9f846449d271ea75515ad68caa0023ceb4a0128b
parentc159a85013afbb8283f0c7272812952e04d5c3a1
ASoC: cs42l52: Fix mask for REVID

BIT[0:2] of register 01h is REVID, so the mask for REVID should be 0x7.
Also updates the code to use CS42L52_CHIP_REV_MASK.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/cs42l52.c
sound/soc/codecs/cs42l52.h