projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1124c0
)
ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register
author
Axel Lin
<axel.lin@ingics.com>
Tue, 25 Oct 2016 14:39:36 +0000
(22:39 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 25 Oct 2016 19:27:50 +0000
(20:27 +0100)
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>
sound/soc/codecs/cs35l34.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/cs35l34.c
b/sound/soc/codecs/cs35l34.c
index 404538379586a7a2bb39108d4e1d642d8556831e..e0f672af1d847aa534b2043b2870583f65c73ab6 100644
(file)
--- 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: