diff options
author | Paul Handrigan <Paul.Handrigan@cirrus.com> | 2014-08-28 15:54:08 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-28 18:00:34 (GMT) |
commit | 98c5d36240e10c2e0e06e2bb10496291626d1d43 (patch) | |
tree | a2d70f2092b3c84c3d328b0e7179eaa28f6c4f1a /sound/soc/codecs/cs4265.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | linux-98c5d36240e10c2e0e06e2bb10496291626d1d43.tar.xz |
ASoC: cs4265: Add CHIP_ID as a readable register
Reported-by: Zoltán Szenczi <zoltan@raspberrypi.org>
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/cs4265.c')
-rw-r--r-- | sound/soc/codecs/cs4265.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c index a20b30c..2dad15a 100644 --- a/sound/soc/codecs/cs4265.c +++ b/sound/soc/codecs/cs4265.c @@ -77,6 +77,7 @@ static bool cs4265_readable_register(struct device *dev, unsigned int reg) case CS4265_INT_MASK: case CS4265_STATUS_MODE_MSB: case CS4265_STATUS_MODE_LSB: + case CS4265_CHIP_ID: return true; default: return false; |