From: Paul Handrigan Date: Thu, 28 Aug 2014 15:54:08 +0000 (-0500) Subject: ASoC: cs4265: Add CHIP_ID as a readable register X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=98c5d36240e10c2e0e06e2bb10496291626d1d43;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ASoC: cs4265: Add CHIP_ID as a readable register Reported-by: Zoltán Szenczi Signed-off-by: Paul Handrigan Signed-off-by: Mark Brown --- 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;