[PATCH] ASoC: cs35l34: Remove CS35L34_CHIP_ID from cs35l34_readable_register

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 sound/soc/codecs/cs35l34.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/cs35l34.c b/sound/soc/codecs/cs35l34.c
index 4045383..e0f672a 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:
-- 
2.7.4

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux