[alsa-devel] [PATCH 1/3] Add CHIP_ID as a readable register.

Paul Handrigan Paul.Handrigan at cirrus.com
Thu Aug 28 17:54:08 CEST 2014


Reported-by: Zoltán Szenczi <zoltan at raspberrypi.org>
Signed-off-by: Paul Handrigan <Paul.Handrigan at cirrus.com>
---
 sound/soc/codecs/cs4265.c | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
1.9.1



More information about the Alsa-devel mailing list