Skip to content

Commit

Permalink
ASoC: cs4265: Add CHIP_ID as a readable register
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Handrigan authored and Mark Brown committed Aug 28, 2014
1 parent 7d1311b commit 98c5d36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/cs4265.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 98c5d36

Please sign in to comment.