summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorPaul Handrigan <Paul.Handrigan@cirrus.com>2014-08-28 10:54:08 -0500
committerMark Brown <broonie@linaro.org>2014-08-28 19:00:34 +0100
commit98c5d36240e10c2e0e06e2bb10496291626d1d43 (patch)
treea2d70f2092b3c84c3d328b0e7179eaa28f6c4f1a /sound
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
downloadblackbird-op-linux-98c5d36240e10c2e0e06e2bb10496291626d1d43.tar.gz
blackbird-op-linux-98c5d36240e10c2e0e06e2bb10496291626d1d43.zip
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')
-rw-r--r--sound/soc/codecs/cs4265.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c
index a20b30ca52c0..2dad15ae0530 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;
OpenPOWER on IntegriCloud