]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: amd: yc: add new YC platform variant (0x63) support
authorJiawei Wang <me@jwang.link>
Wed, 28 Feb 2024 07:39:13 +0000 (15:39 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 28 Feb 2024 12:24:58 +0000 (12:24 +0000)
The Lenovo 21J2 (ThinkBook 16 G5+ APO) has this new variant,
as detected with lspci:

64:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD]
        ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)

Signed-off-by: Jiawei Wang <me@jwang.link>
Link: https://msgid.link/r/20240228073914.232204-1-me@jwang.link
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/pci-acp6x.c

index 7af6a349b1d41fb60d9450a312927e4774889a34..694b8e31390248b88e4bc8aba843316244f0bdb4 100644 (file)
@@ -162,6 +162,7 @@ static int snd_acp6x_probe(struct pci_dev *pci,
        /* Yellow Carp device check */
        switch (pci->revision) {
        case 0x60:
+       case 0x63:
        case 0x6f:
                break;
        default: