Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11623174rwl; Tue, 3 Jan 2023 02:06:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXsit4K1NnhnMVLZ11vBeDIxnFY56BpB6vVBbm4ROzv78trJB+FKHFr6bSnl7cR9LTX8tDMU X-Received: by 2002:a17:90a:f8b:b0:21e:a1d1:509f with SMTP id 11-20020a17090a0f8b00b0021ea1d1509fmr48567091pjz.5.1672740397518; Tue, 03 Jan 2023 02:06:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672740397; cv=none; d=google.com; s=arc-20160816; b=arQWB7ULE8Rj8iCfLxigzqgFsVWtZlC9R9MEyzlu0NaNdRFzD1tOgHXZ27AuSphVIu 7L6FX2quPrGnJiFcnKv4atcmqazOQJ+zGmbn9PooFEQsQH+5oXduWy3GHThR9CrIr+W3 PiqaxTBfVULjhImE1rG/mjZg91figqUPpspQZ0V33K6H/UUFDcJyMta8LnRZuy3zL/CN NLes+FZ5P7PsgimkuTb6NcPVWgtrZqev6dEhYiGoWhIbWKJn4n0ozMhU4xz943HTqdyn gPSKVmpn5j7ZB5ilnTQgMbN1TgDcUIodmzIcsRegZSECN7H5vL4P+EvF7+U1xMmAcF0p FN3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yHJKB+fSNEIK3AP5YIvFqV8vwGwGNgGxp7RxKevK/jQ=; b=INkQSKrpes58ws9Xqx1LbHiFXeSKOOQ/crpe0pJrE0AWzz04WRhsbY2dqHeB2/KlvE VcvQl7TrrLv/9ZdmGXSbp0ukeXFrE89F12OlFxFcxNCD69QtdpXDQqQ/qtnU7mnTgwOT oap0iPZU6dkMC/TqBTj4arGDH08+4UasN9URAxmv4YVNryeZ/db94xkKTy4Xs2qSFsWM xvCN0vd90KtO3hw1b2MXIR8+2keEyigpNTUFnCq6SNIowvnizxvJ5fTr6IKRkgccVUyO V1IshMAB7Rn7jpC/mpJqB5uuZBVGbn/G+5O1utBlGNDA7KRqbSjeSI/kw3Wjx34JEOGW 7Gtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Hxif4Dq8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p12-20020a17090a428c00b00219404caaeasi34255473pjg.164.2023.01.03.02.06.30; Tue, 03 Jan 2023 02:06:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Hxif4Dq8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233145AbjACJxt (ORCPT + 61 others); Tue, 3 Jan 2023 04:53:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbjACJxn (ORCPT ); Tue, 3 Jan 2023 04:53:43 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B34BB5A for ; Tue, 3 Jan 2023 01:53:42 -0800 (PST) Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id A3029418E6 for ; Tue, 3 Jan 2023 09:53:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1672739620; bh=yHJKB+fSNEIK3AP5YIvFqV8vwGwGNgGxp7RxKevK/jQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Hxif4Dq850RtQe/u/zmco55q/Rfo24mrhBL2Iibfzt4Z5uDu3zAZBfwsRBWl8yOJ5 yvHQj+3WIqqaM3drrccnK1wWnnUQfqKPNGXqlzjAzmgA5asWO5e96y/8VvS3IlHTk6 7pOd3oYvJjBpCd+Y7/jCkqH+NUwgw+axBvyTJwjlN61XB7yQcl+N43nE/0ea1GwE0C 58aaLx4Fnzs2YKo4TPa+CYaK4/XN/1ZG3WdL6Ma8mlHMw3kOp2tf/YNloJql4+YBEE gIB90hYI7EE1OlWZrUIXoYL5y9urCsbXgpxrouF83zpVLEQbRfB+oahAZ7Y6oqiXf6 ICIwkVW3lwQnw== Received: by mail-pf1-f200.google.com with SMTP id k21-20020aa78215000000b00575ab46ca2cso14076335pfi.20 for ; Tue, 03 Jan 2023 01:53:40 -0800 (PST) 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:subject:date:message-id :reply-to; bh=yHJKB+fSNEIK3AP5YIvFqV8vwGwGNgGxp7RxKevK/jQ=; b=TyrL3EguPtr/gk7Q44vEuQC0dRnNgUDIumxvbBgWMJ3y5fv0cg0DAQLiKvUMlME2nj 8oIpdMGW3cUrbEGGzQu4HjMacKY+8yuCIWc0eH4cgxYW7Id3uHCKCy7x7m8OPJtf6DVp OgupoKSfGJV/D5nx6FjJf0dWLuZx4aIZqXg8J6SKXGN5l3GtdRar2AsjFzfNRWeWglRn KkVXTEY+FwXZXbAAgais2FCagGyLgLWNPOfPcga0SKOHeKRSzdZe+PRx4HR3v7Ny+IxP c1M4KYRGFKtJpMZ6tITJHg40IeAzYf/ZUKFE1c+kpyJxuW6IRQ12kEOInxrchiU2eoRR 7zVA== X-Gm-Message-State: AFqh2krElI5w7ZS3yEWXXGOqCV/FCrQLtta6lj3tRRWCUTc8depZVH8v tfK4+skemgkP/kjoElESi8PCV/dFISleu5zbOGXvFHQ0dAO32TK1AI0+su8rz6INc1+4siiUybX mpVpW8ayExF9S34TViLCsWm0kGaOBdrvVJVKTsOwaWw== X-Received: by 2002:a05:6a00:1485:b0:57f:ef11:acf6 with SMTP id v5-20020a056a00148500b0057fef11acf6mr54271125pfu.8.1672739618885; Tue, 03 Jan 2023 01:53:38 -0800 (PST) X-Received: by 2002:a05:6a00:1485:b0:57f:ef11:acf6 with SMTP id v5-20020a056a00148500b0057fef11acf6mr54271106pfu.8.1672739618339; Tue, 03 Jan 2023 01:53:38 -0800 (PST) Received: from u-Precision-5560.mymeshdevice.home (2001-b011-3817-354b-917f-f33f-4816-b377.dynamic-ip6.hinet.net. [2001:b011:3817:354b:917f:f33f:4816:b377]) by smtp.gmail.com with ESMTPSA id x19-20020aa79ad3000000b005811c421e6csm15210748pfp.162.2023.01.03.01.53.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 01:53:37 -0800 (PST) From: Chris Chiu To: tiwai@suse.com, perex@perex.cz Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Chris Chiu Subject: [PATCH] ALSA: hda - Enable headset mic on another Dell laptop with ALC3254 Date: Tue, 3 Jan 2023 17:53:32 +0800 Message-Id: <20230103095332.730677-1-chris.chiu@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is another Dell Latitude laptop (1028:0c03) with Realtek codec ALC3254 which needs the ALC269_FIXUP_DELL4_MIC_NO_PRESENCE instead of the default matched ALC269_FIXUP_DELL1_MIC_NO_PRESENCE. Apply correct fixup for this particular model to enable headset mic. Signed-off-by: Chris Chiu --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 3794b522c222..f75d26acf5ee 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9239,6 +9239,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1028, 0x0b1a, "Dell Precision 5570", ALC289_FIXUP_DUAL_SPK), SND_PCI_QUIRK(0x1028, 0x0b37, "Dell Inspiron 16 Plus 7620 2-in-1", ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS), SND_PCI_QUIRK(0x1028, 0x0b71, "Dell Inspiron 16 Plus 7620", ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS), + SND_PCI_QUIRK(0x1028, 0x0c03, "Dell Precision 5340", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0c19, "Dell Precision 3340", ALC236_FIXUP_DELL_DUAL_CODECS), SND_PCI_QUIRK(0x1028, 0x0c1a, "Dell Precision 3340", ALC236_FIXUP_DELL_DUAL_CODECS), SND_PCI_QUIRK(0x1028, 0x0c1b, "Dell Precision 3440", ALC236_FIXUP_DELL_DUAL_CODECS), -- 2.25.1