提交 98c5d362 编写于 作者: P Paul Handrigan 提交者: Mark Brown

ASoC: cs4265: Add CHIP_ID as a readable register

Reported-by: NZoltán Szenczi <zoltan@raspberrypi.org>
Signed-off-by: NPaul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 7d1311b9
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册