summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorVlad Karpovich <vkarpovi@opensource.cirrus.com>2023-08-28 19:05:19 +0200
committerMark Brown <broonie@kernel.org>2023-08-29 12:21:02 +0200
commitbfd73b601ac880d7cfbafbb770c3d6195e73add3 (patch)
tree61d561747e0b0f4915b92ecde68f63db9bea8fc0 /sound
parentASoC: codecs: wcd93xx: fix object added to multiple drivers (diff)
downloadlinux-bfd73b601ac880d7cfbafbb770c3d6195e73add3.tar.xz
linux-bfd73b601ac880d7cfbafbb770c3d6195e73add3.zip
ASoC: cs35l45: Add support for Chip ID 0x35A460
The 0x35A460 chip is a different variant of the cs35l45. Signed-off-by: Vlad Karpovich <vkarpovi@opensource.cirrus.com Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com Link: https://lore.kernel.org/r/20230828170525.335671-1-vkarpovi@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/cs35l45.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs35l45.c b/sound/soc/codecs/cs35l45.c
index d1edb9876c10..aa5a54e960b0 100644
--- a/sound/soc/codecs/cs35l45.c
+++ b/sound/soc/codecs/cs35l45.c
@@ -1078,6 +1078,7 @@ static int cs35l45_initialize(struct cs35l45_private *cs35l45)
switch (dev_id[0]) {
case 0x35A450:
+ case 0x35A460:
break;
default:
dev_err(cs35l45->dev, "Bad DEVID 0x%x\n", dev_id[0]);