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=-8.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 A452AC433ED for ; Mon, 3 May 2021 08:42:02 +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 06BE661244 for ; Mon, 3 May 2021 08:42:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06BE661244 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.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 A8A4E1662; Mon, 3 May 2021 10:41:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A8A4E1662 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1620031318; bh=6h3d3LBDqJypahmypvYX1hLei8+FE4X/fpgWGnm8GNw=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=YsoRDMwzUt0l8xhq4Z/IUv5DQ8Y+uQ57QAI2nxzIajN3dPYC5EOA9/0tigD93qXM7 lZmYljOPcq8G8y3rZAl3W2OHcG9zeUFY3vqXSZnbOgW+Cyaa7cYjDkQf8NmAN/5kGq BYqZXBF3HFRlSnmJrvJl6JrGwivc+eHK7moQwSxI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0D07BF80257; Mon, 3 May 2021 10:41:08 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5CA13F8025F; Mon, 3 May 2021 10:41:04 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CD9BDF80111 for ; Mon, 3 May 2021 10:40:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CD9BDF80111 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id CEEC6B1E0; Mon, 3 May 2021 08:40:55 +0000 (UTC) Date: Mon, 03 May 2021 10:40:55 +0200 Message-ID: From: Takashi Iwai To: Sami Loone Subject: Re: [PATCH] ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: Alsa-devel 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" On Sat, 01 May 2021 12:07:53 +0200, Sami Loone wrote: > > In 07d9e69cf34a ("ALSA: hda/realtek: fix static noise on ALC285 Lenovo > laptops") an existing Lenovo quirk was made more generic by removing a > 0x12 pin requirement from the entry. This made the second chance table > Thinkpad jack entry unreachable as the pin configurations became > identical. > > Revert the 0x12 pin requirement removal and move Thinkpad jack pin quirk > back to the primary pin table as they can co-exist when more specific > configurations come first. > > Add a more targeted pin quirk for Lenovo devices that have 0x12 as > 0x40000000. > > Tested on Yoga 6 (AMD) laptop. > > Fixes: 07d9e69cf34a ("ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops") > Signed-off-by: Sami Loone Applied now. The commit ID doesn't exist in the upstream, so I corrected it. thanks, Takashi