Skip to content

Commit

Permalink
ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register
Browse files Browse the repository at this point in the history
CS35L34_CHIP_ID is not a register address, it's the value read from
CS35L34_DEVID_AB/CD/E registers.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 25, 2016
1 parent c1124c0 commit 55060fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/codecs/cs35l34.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ static bool cs35l34_volatile_register(struct device *dev, unsigned int reg)
static bool cs35l34_readable_register(struct device *dev, unsigned int reg)
{
switch (reg) {
case CS35L34_CHIP_ID:
case CS35L34_DEVID_AB:
case CS35L34_DEVID_CD:
case CS35L34_DEVID_E:
Expand Down

0 comments on commit 55060fe

Please sign in to comment.