diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-04-17 16:35:43 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-18 15:59:07 +0100 |
commit | 1025c05f727be33e065bb502a223637681c7991d (patch) | |
tree | de1ea589b56b707af1fc41bfd7051a9d37bf1e1a /sound/soc/codecs/cs42l51.h | |
parent | a1253ef6d3fabfe60838cd417b0624ab53df285e (diff) | |
download | linux-stable-1025c05f727be33e065bb502a223637681c7991d.tar.gz linux-stable-1025c05f727be33e065bb502a223637681c7991d.tar.bz2 linux-stable-1025c05f727be33e065bb502a223637681c7991d.zip |
ASoC: cs42l51: Fix mask for REVID
The REVID mask was changed by commit a1253ef6d3fa
"ASoC: cs42l51: split i2c from codec driver". Fix it.
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>
Diffstat (limited to 'sound/soc/codecs/cs42l51.h')
-rw-r--r-- | sound/soc/codecs/cs42l51.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs42l51.h b/sound/soc/codecs/cs42l51.h index 641ef18435b3..8c55bf384bc6 100644 --- a/sound/soc/codecs/cs42l51.h +++ b/sound/soc/codecs/cs42l51.h @@ -26,6 +26,7 @@ int cs42l51_probe(struct device *dev, struct regmap *regmap); #define CS42L51_CHIP_ID 0x1B #define CS42L51_CHIP_REV_A 0x00 #define CS42L51_CHIP_REV_B 0x01 +#define CS42L51_CHIP_REV_MASK 0x07 #define CS42L51_CHIP_REV_ID 0x01 #define CS42L51_MK_CHIP_REV(a, b) ((a)<<3|(b)) |