diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-04-17 10:35:43 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-18 16:59:07 +0200 |
commit | 1025c05f727be33e065bb502a223637681c7991d (patch) | |
tree | de1ea589b56b707af1fc41bfd7051a9d37bf1e1a /sound/soc/codecs/cs42l51.c | |
parent | ASoC: cs42l51: split i2c from codec driver (diff) | |
download | linux-1025c05f727be33e065bb502a223637681c7991d.tar.xz linux-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.c')
-rw-r--r-- | sound/soc/codecs/cs42l51.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l51.c b/sound/soc/codecs/cs42l51.c index 46abd3e02f14..6aa69e5aaa3f 100644 --- a/sound/soc/codecs/cs42l51.c +++ b/sound/soc/codecs/cs42l51.c @@ -548,7 +548,8 @@ int cs42l51_probe(struct device *dev, struct regmap *regmap) ret = -ENODEV; goto error; } - dev_info(dev, "Cirrus Logic CS42L51, Revision: %02X\n", val & 0xFF); + dev_info(dev, "Cirrus Logic CS42L51, Revision: %02X\n", + val & CS42L51_CHIP_REV_MASK); ret = snd_soc_register_codec(dev, &soc_codec_device_cs42l51, &cs42l51_dai, 1); |