From patchwork Mon Dec 13 18:20:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Kroon X-Patchwork-Id: 523699 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 A44F0C433F5 for ; Mon, 13 Dec 2021 18:21:55 +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 14A071896; Mon, 13 Dec 2021 19:21:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 14A071896 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1639419713; bh=fMZ2AzEu4rao5UWq6NSt9BUbVs6DDipys/Xkcd3b9Io=; h=Date:From:Subject:To:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=rk1r0VIhEINAq+rROmtKQFACEPZGYDMTzhAtpuowmVFwq0l9ZpV7t6fDqjqo/r0RD xlUIT5TJi04Ea3by2+ZcYLmZ9xMX5CvM4A3yCFAusmgeQDucUboTk/b/9/KryB8kXW ADdW8LfixhGE/xhbduz0ZSOz0biIzbTxGaxONu5s= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6CE96F8016A; Mon, 13 Dec 2021 19:21:02 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0B7BFF8016A; Mon, 13 Dec 2021 19:21:01 +0100 (CET) Received: from vsmx001.mijndomein.xion.oxcs.net (vsmx001.mijndomein.xion.oxcs.net [157.97.78.141]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C18EDF8016A for ; Mon, 13 Dec 2021 19:20:54 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C18EDF8016A Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=tarmack.eu header.i=@tarmack.eu header.b="VRDWiSJN" Received: from vsmx001.mijndomein.xion.oxcs.net (unknown [10.93.2.1]) by mx-out.mijndomein.xion.oxcs.net (Postfix) with ESMTP id 9773A34D44B3 for ; Mon, 13 Dec 2021 18:20:51 +0000 (UTC) Received: from proxy-7.proxy.shared.ns.xion.oxcs.net (proxy-7.proxy.shared.ns.xion.oxcs.net [77.167.248.94]) by mx-out.mijndomein.xion.oxcs.net (Postfix) with ESMTPA id 599E2A4038E for ; Mon, 13 Dec 2021 18:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tarmack.eu; s=mail1; t=1639419651; bh=GSSGpsV1qcNvhNvhkSX1mpNX/qCZx1Y2CjPDjdZ//CI=; h=Date:From:Subject:To:From; b=VRDWiSJN+KnIpprul6f2fziri7Ox4l8aioMXX6q8/I3L+HDEmXT6HVSomCUhkmToT 8DwmVP5EIOotD54irMTiMt/qbT5XDAvJJgSm/pGStfHGMNBpnAgcH7/jAZ5kvhQVvf JCzIOia6jD9SFUH1NjFGxzYtCruuAx7gUWUTp3cQ= Received: from [192.168.3.35] (unknown [192.168.3.35]) by postoffice.localdomain (Postfix) with ESMTP id 10391C02EA for ; Mon, 13 Dec 2021 18:20:39 +0000 (UTC) Date: Mon, 13 Dec 2021 19:20:43 +0100 From: Bart Kroon Subject: [PATCH] ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk To: alsa-devel@alsa-project.org Message-Id: X-Mailer: geary/40.0 MIME-Version: 1.0 X-VadeSecure-Status: LEGIT X-VADE-STATUS: LEGIT X-VadeSecure-Status: LEGIT X-VADE-STATUS: LEGIT X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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" Hello, The speaker fixup that is used for the Yoga 7 14ITL5 also applies to the IdeaPad Slim 9i 14ITL5. The attached patch applies the quirk to initialise the amplifier on the IdeaPad Slim 9i as well. This is validated to work on my laptop. Signed-off-by: Bart Kroon Regards, Bart diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8a3e2fe42106..de8f4e9c289d 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8851,6 +8851,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x17aa, 0x3827, "Ideapad S740", ALC285_FIXUP_IDEAPAD_S740_COEF), SND_PCI_QUIRK(0x17aa, 0x3843, "Yoga 9i", ALC287_FIXUP_IDEAPAD_BASS_SPK_AMP), SND_PCI_QUIRK(0x17aa, 0x3813, "Legion 7i 15IMHG05", ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS), + SND_PCI_QUIRK(0x17aa, 0x3834, "Lenovo IdeaPad Slim 9i 14ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS), SND_PCI_QUIRK(0x17aa, 0x3852, "Lenovo Yoga 7 14ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS), SND_PCI_QUIRK(0x17aa, 0x3853, "Lenovo Yoga 7 15ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS), SND_PCI_QUIRK(0x17aa, 0x3819, "Lenovo 13s Gen2 ITL", ALC287_FIXUP_13S_GEN2_SPEAKERS),