From patchwork Wed Jan 22 18:01:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_Gro=C3=9Fe?= X-Patchwork-Id: 193780 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=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham 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 AD8D2C2D0DB for ; Wed, 22 Jan 2020 17:08:00 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3976F2465A for ; Wed, 22 Jan 2020 17:08:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="mJavBdmF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3976F2465A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=friiks.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 9CE6216C0; Wed, 22 Jan 2020 18:07:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9CE6216C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1579712878; bh=ssaSitb/vewMFE9bZZWTbmgLSdeJrtbar+jIzw8ZkY0=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=mJavBdmFpdW/bo307q4A6wVJVHOG7tsPzf7LEDveB+4BWTCecYj3sTwbV+theY7S7 DxQd8/Nf/ndgl+D/FgbQHw5opY5uybkR/syBFX2R+Ofq6bXGNetmbQC6YIQ8ldlwHA OMg9obwAeitvXAeLGPHfnHAOB9Lo11JfVFayhMiE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 178CFF80278; Wed, 22 Jan 2020 18:04:42 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0960FF8020C; Wed, 22 Jan 2020 17:55:46 +0100 (CET) Received: from james.theweblords.de (james.theweblords.de [217.11.55.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A5C7CF800BA for ; Wed, 22 Jan 2020 17:55:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A5C7CF800BA Received: (qmail 20135 invoked by uid 210); 22 Jan 2020 16:55:41 -0000 X-Qmail-Scanner-Diagnostics: from wl-r7-73.rz.tu-ilmenau.de (petronios@theweblords.de@wl-r7-73.rz.tu-ilmenau.de) by james (envelope-from , uid 201) with qmail-scanner-2.10st (mhr: 1.0. spamassassin: 3.4.2. perlscan: 2.10st. Clear:RC:1(141.24.110.73):. Processed in 0.049813 secs); 22 Jan 2020 16:55:41 -0000 Received: from wl-r7-73.rz.tu-ilmenau.de (HELO its-dev2.tu-ilmenau.de) (petronios@theweblords.de@141.24.110.73) by james.theweblords.de with ESMTPA; 22 Jan 2020 16:55:40 -0000 From: =?utf-8?q?Peter_Gro=C3=9Fe?= To: Jaroslav Kysela , Takashi Iwai Date: Wed, 22 Jan 2020 19:01:06 +0100 Message-Id: <20200122180106.9351-1-pegro@friiks.de> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 22 Jan 2020 18:04:36 +0100 Cc: alsa-devel@alsa-project.org, pegro@friiks.de Subject: [alsa-devel] [PATCH] ALSA: hda - Add docking station support for Lenovo Thinkpad T420s 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" Lenovo Thinkpad T420s uses the same codec as T420, so apply the same quirk to enable audio output on a docking station. Signed-off-by: Peter Große --- sound/pci/hda/patch_conexant.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index 90aa0f400a57..1e20e85e9b46 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c @@ -922,6 +922,7 @@ static const struct snd_pci_quirk cxt5066_fixups[] = { SND_PCI_QUIRK(0x17aa, 0x215f, "Lenovo T510", CXT_PINCFG_LENOVO_TP410), SND_PCI_QUIRK(0x17aa, 0x21ce, "Lenovo T420", CXT_PINCFG_LENOVO_TP410), SND_PCI_QUIRK(0x17aa, 0x21cf, "Lenovo T520", CXT_PINCFG_LENOVO_TP410), + SND_PCI_QUIRK(0x17aa, 0x21d2, "Lenovo T420s", CXT_PINCFG_LENOVO_TP410), SND_PCI_QUIRK(0x17aa, 0x21da, "Lenovo X220", CXT_PINCFG_LENOVO_TP410), SND_PCI_QUIRK(0x17aa, 0x21db, "Lenovo X220-tablet", CXT_PINCFG_LENOVO_TP410), SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo IdeaPad Z560", CXT_FIXUP_MUTE_LED_EAPD),