提交 55060fee 编写于 作者: A Axel Lin 提交者: Mark Brown

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: NAxel Lin <axel.lin@ingics.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 c1124c09
...@@ -145,7 +145,6 @@ static bool cs35l34_volatile_register(struct device *dev, unsigned int reg) ...@@ -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) static bool cs35l34_readable_register(struct device *dev, unsigned int reg)
{ {
switch (reg) { switch (reg) {
case CS35L34_CHIP_ID:
case CS35L34_DEVID_AB: case CS35L34_DEVID_AB:
case CS35L34_DEVID_CD: case CS35L34_DEVID_CD:
case CS35L34_DEVID_E: case CS35L34_DEVID_E:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册