Skip to content

Commit 55060fe

Browse files
AxelLinbroonie
authored andcommitted
ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register
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>
1 parent c1124c0 commit 55060fe

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎sound/soc/codecs/cs35l34.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ static bool cs35l34_volatile_register(struct device *dev, unsigned int reg)
145145
static bool cs35l34_readable_register(struct device *dev, unsigned int reg)
146146
{
147147
switch (reg) {
148-
case CS35L34_CHIP_ID:
149148
case CS35L34_DEVID_AB:
150149
case CS35L34_DEVID_CD:
151150
case CS35L34_DEVID_E:

0 commit comments

Comments
 (0)