ASoC: cs4265: Add CHIP_ID as a readable register
authorPaul Handrigan <Paul.Handrigan@cirrus.com>
Thu, 28 Aug 2014 15:54:08 +0000 (10:54 -0500)
committerMark Brown <broonie@linaro.org>
Thu, 28 Aug 2014 18:00:34 +0000 (19:00 +0100)
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>
sound/soc/codecs/cs4265.c

index a20b30c..2dad15a 100644 (file)
@@ -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;