From patchwork Wed Aug 10 15:27:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen Ballway X-Patchwork-Id: 12941352 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A855CC19F2A for ; Thu, 11 Aug 2022 11:04:17 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id EF21BAEA; Thu, 11 Aug 2022 13:03:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EF21BAEA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1660215856; bh=FyAJSOfnBv6BaOxlfypmmHhsSZ78X7hfzgV+gLj/eFI=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=KjhjYLOUB7Lm4NRWMUCAoDaKhGzX+SS0gTP6KBCpbxrGVk/jX5oe8P4CzC/ipU03Q //lSv9yI7wJ9LB95ClvfORydD1RxAA/lANijLERMmmHB98Kaf4kkYZQ3F9v7IVfXRZ QfdzYqy+ouhUWPdQrTKuCMK2TSKlOTD9cP198plU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id F34ECF8051C; Thu, 11 Aug 2022 13:03:02 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C9013F801F5; Wed, 10 Aug 2022 17:34:28 +0200 (CEST) Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E5BF2F800FB for ; Wed, 10 Aug 2022 17:34:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E5BF2F800FB Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="QU0ALuzh" Received: by mail-vs1-xe30.google.com with SMTP id 67so8120633vsv.2 for ; Wed, 10 Aug 2022 08:34:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=dQ01aEhZNYaH2ZhVRRlO0MExQVXwpOhIKdTs5cP1++I=; b=QU0ALuzhQccpKzg5h9xW+3C67U6cZP7AmH8MJtSw3G9rRWRINBmo+z5WMt7HVlpG32 OVBmJvD29gJyx8+1G2mPhUbP1960uhhZaWTUodTf1MxurLQhlY82aCMQGlxNChXz7J2i UzopJnD/+nEzuScKTkG3ARlNRBWPxuCbnjFs0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=dQ01aEhZNYaH2ZhVRRlO0MExQVXwpOhIKdTs5cP1++I=; b=TGSK7x4sGySPzRhQ+HNTJ2mdB2V65UYfUgO9aTM9efp5n42n5pOpUBt7h+V/Yep6EH C7MxG9UnUSagmuFs+7gjMNFu32zhcuhvpQu87DFiY0BenpgDNp+7eArmXhLX20frGVmG Xc5DECgLLajAAih2hLJE/cL4lJR3GAg9ybmx0P2og8TqKtUhOJ+WLiPYQd5FyaRwbRcr 0ByyvTdVeWQXgXysXeKu2FYb8YOaT1ZXDy+hw71vdTtIOVMD1KIV3jfZaUrISE/YG0x+ 8xxyIsusZBPQQT5e5h89MRZ20ayb2vQ03A2+8zA4IRpD1aSxVBKaSWB+ApgqgAXcPSCB CrFg== X-Gm-Message-State: ACgBeo2A+KGIuRN1xVq7aIWreCoq7OrTbeXfYWt84gfKcV9UYOKvbSnO qGX7W0haED7TmvEs6YJ0yP5ZZgGCCof29RkH X-Google-Smtp-Source: AA6agR6rNWJJ/UIpT2gl//wtCYsECa4lf534iajVWoCxuILkQfw/V1Tw05+Gd3s3l89osKDR+IF+Hg== X-Received: by 2002:a62:18ce:0:b0:52d:3137:d854 with SMTP id 197-20020a6218ce000000b0052d3137d854mr27750426pfy.16.1660145247536; Wed, 10 Aug 2022 08:27:27 -0700 (PDT) Received: from ballway1.c.googlers.com.com (97.173.125.34.bc.googleusercontent.com. [34.125.173.97]) by smtp.gmail.com with ESMTPSA id f20-20020a635554000000b0041a716cec9esm9685576pgm.62.2022.08.10.08.27.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 08:27:27 -0700 (PDT) From: Allen Ballway To: LKML Subject: [PATCH] ALSA: hda/cirrus - support for iMac 12,1 model Date: Wed, 10 Aug 2022 15:27:22 +0000 Message-Id: <20220810152701.1.I902c2e591bbf8de9acb649d1322fa1f291849266@changeid> X-Mailer: git-send-email 2.37.1.559.g78731f0fdb-goog MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 11 Aug 2022 13:02:59 +0200 Cc: alsa-devel@alsa-project.org, Lucas Tanure , Vitaly Rodionov , Takashi Iwai , Allen Ballway X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The 12,1 model requires the same configuration as the 12,2 model to enable headphones but has a different codec SSID. Adds 12,1 SSID for matching quirk. Signed-off-by: Allen Ballway --- sound/pci/hda/patch_cirrus.c | 1 + 1 file changed, 1 insertion(+) -- 2.37.1.559.g78731f0fdb-goog diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 678fbcaf2a3b..e1055d7d9be6 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c @@ -396,6 +396,7 @@ static const struct snd_pci_quirk cs420x_fixup_tbl[] = { /* codec SSID */ SND_PCI_QUIRK(0x106b, 0x0600, "iMac 14,1", CS420X_IMAC27_122), SND_PCI_QUIRK(0x106b, 0x1c00, "MacBookPro 8,1", CS420X_MBP81), + SND_PCI_QUIRK(0x106b, 0x0900, "iMac 12,1", CS420X_IMAC27_122), SND_PCI_QUIRK(0x106b, 0x2000, "iMac 12,2", CS420X_IMAC27_122), SND_PCI_QUIRK(0x106b, 0x2800, "MacBookPro 10,1", CS420X_MBP101), SND_PCI_QUIRK(0x106b, 0x5600, "MacBookAir 5,2", CS420X_MBP81),