From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A8FCC433DF for ; Fri, 19 Jun 2020 14:46:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4BE502083B for ; Fri, 19 Jun 2020 14:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592577960; bh=Dm3vVq6N42rs5GkLgwPB892eCbsiIvZVjEjlu7Ozs2g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=HIRCM4wjXbiHmALMJhbv4U/sKyx8YvK/OBNHRCgdtjzrdID1W5aZrJa0/PdomQ5rX 2rcuudUOiyLqy8Eh+nbAv1bIAfCIpM379Z8Bb1AoTS1xNHtouVBARPYpC65odZG9gq h0UphUIh0mkXnUg8rTBP0czlsjo6V1feUqlplPLk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388779AbgFSOp6 (ORCPT ); Fri, 19 Jun 2020 10:45:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:37490 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388754AbgFSOps (ORCPT ); Fri, 19 Jun 2020 10:45:48 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2144820A8B; Fri, 19 Jun 2020 14:45:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592577948; bh=Dm3vVq6N42rs5GkLgwPB892eCbsiIvZVjEjlu7Ozs2g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PdQ77yEo0QF49DI4b6mipfQzP9Upud+Huz2OGCYLyikQE5HrzirALItsbFgSm9PXj clP5Iz0pjP3H5yTUP946fzYNARjM3PJrY0LBtJAJKQJecdNpU+6rPtKO7X7HPAZjwj hLnfPceyel1E+HZMbWJI/IgcaQ6WbHKnlTVBbn9c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hui Wang , Takashi Iwai Subject: [PATCH 4.14 024/190] ALSA: hda/realtek - add a pintbl quirk for several Lenovo machines Date: Fri, 19 Jun 2020 16:31:09 +0200 Message-Id: <20200619141634.696500618@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619141633.446429600@linuxfoundation.org> References: <20200619141633.446429600@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hui Wang commit 573fcbfd319ccef26caa3700320242accea7fd5c upstream. A couple of Lenovo ThinkCentre machines all have 2 front mics and they use the same codec alc623 and have the same pin config, so add a pintbl entry for those machines to apply the fixup ALC283_FIXUP_HEADSET_MIC. Cc: Signed-off-by: Hui Wang Link: https://lore.kernel.org/r/20200608115541.9531-1-hui.wang@canonical.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7131,6 +7131,12 @@ static const struct snd_hda_pin_quirk al ALC225_STANDARD_PINS, {0x12, 0xb7a60130}, {0x17, 0x90170110}), + SND_HDA_PIN_QUIRK(0x10ec0623, 0x17aa, "Lenovo", ALC283_FIXUP_HEADSET_MIC, + {0x14, 0x01014010}, + {0x17, 0x90170120}, + {0x18, 0x02a11030}, + {0x19, 0x02a1103f}, + {0x21, 0x0221101f}), {} };