diff options
author | Axel Lin <axel.lin@ingics.com> | 2016-10-25 17:39:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-25 22:27:50 +0300 |
commit | 55060feefcdff692ace47b1a2346998dfcd4bcb5 (patch) | |
tree | 6fafec7054c7b6c005688c31641a5419683c58de /sound/soc/codecs/cs35l34.c | |
parent | c1124c09e1035cabdbc17d4538ae6f922086fec9 (diff) | |
download | linux-55060feefcdff692ace47b1a2346998dfcd4bcb5.tar.xz |
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>
Diffstat (limited to 'sound/soc/codecs/cs35l34.c')
-rw-r--r-- | sound/soc/codecs/cs35l34.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs35l34.c b/sound/soc/codecs/cs35l34.c index 404538379586..e0f672af1d84 100644 --- a/sound/soc/codecs/cs35l34.c +++ b/sound/soc/codecs/cs35l34.c @@ -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: |