mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
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>
This commit is contained in:
parent
7d1311b93e
commit
98c5d36240
@ -77,6 +77,7 @@ static bool cs4265_readable_register(struct device *dev, unsigned int reg)
|
|||||||
case CS4265_INT_MASK:
|
case CS4265_INT_MASK:
|
||||||
case CS4265_STATUS_MODE_MSB:
|
case CS4265_STATUS_MODE_MSB:
|
||||||
case CS4265_STATUS_MODE_LSB:
|
case CS4265_STATUS_MODE_LSB:
|
||||||
|
case CS4265_CHIP_ID:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user