From patchwork Mon Aug 24 12:15:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrien Crivelli X-Patchwork-Id: 11735525 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F0E35159A for ; Tue, 25 Aug 2020 11:03:13 +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 1907C2068F for ; Tue, 25 Aug 2020 11:03:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="u+PfgZ8o"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fTcNzDrl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1907C2068F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 52A2E167E; Tue, 25 Aug 2020 13:02:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 52A2E167E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1598353391; bh=arl6kymQUvKI0aFTN9OHnrJOcaaQ09VPUVpc9cUMbME=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=u+PfgZ8o+pct50ym/hg+IUbSgZQnsPOSw4HjhGjQpmRDtcp7kZ6C7Y5YPA2Kw/gA4 4vsNNnTTI/FoGmuBz9r2GiZxOOmusz+YCSb2fPnBIFE3DoI9b9jGdYPWJ6hhKwJaGV 77WfrUzLm9gBsZsS7bNt94K4GmvZU7DuIiC/+q6M= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E609DF8026A; Tue, 25 Aug 2020 13:01:33 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 91E3FF801D9; Mon, 24 Aug 2020 14:16:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DEFE0F800B8 for ; Mon, 24 Aug 2020 14:16:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DEFE0F800B8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fTcNzDrl" Received: by mail-pj1-x1044.google.com with SMTP id mt12so4209710pjb.4 for ; Mon, 24 Aug 2020 05:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=I81TrQIlLLJRVVinDOxjbOmcQCTQyJqY7KYEl8xpvEM=; b=fTcNzDrl8kfLjwHdkCMdbczkh+KWqbexfro8OnEnfFmyMT8H88j8lunKyr2nCY42IE qr0xHOxX/r0EUEc91u2I5XCUJ68oIF/OwPlHhyGxIlg6BDfnZriWOUx2nChlrVVFgjtM 12UR8j4H/Bwr96Lv1O0ur3R0+EkVJvTMbwP+JsRTwkMziQ6SpL1v+qVvIZ4UyENOPo9o l5Sk2eMkbNtQ5TPPZ5UBrfssJN88XJP1zj5rZIsJfVdhj/Ydpe/gxJi7jbrtZXoJzTTA G6f25vpDU6ECDRoPkrS/vBWHvJoiiyGJSQDoAdQ7nSvP5zhOtTZJRzQDXHkl95b+ZU6t SX6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=I81TrQIlLLJRVVinDOxjbOmcQCTQyJqY7KYEl8xpvEM=; b=mlLcLXDkQoycOE+UMvSHTfscRBBCVEAGujXPGKi9btgAsee3qBjfXows5L2vV1pJbD RTE9Q6S1ZVK3TsIHjdBktOwWJmwz+ksgiXgcGrV+S+13NOeTtYbPr7Rz9hEqSWoGfb6R QeOMaSE1g79zIvAH7CvHwJaEShVaOXZYzABfvXnPYCOoAf3W+zMP2mITjKT1PKPCuX8h HJtl/Zfo1VQGHjZ87qGgFd9ug1US8MM2F3XJv+4lm3AT7Rtc1cO1ypnxAgc9/wxhsrpx 1Js6i5gn/9XdVrmcDczYFmlZsWQEy5z7OEvb0M2jAdoqt2IOZBgPcy3Y+6dQehgmYOUQ YUDQ== X-Gm-Message-State: AOAM533r1CMyIWjyYhbQf8JSH5tlSxHFtioIm8uR+ia5iZ2KjsC8Cw9q HRc4qvriTMKPfqP9jrgEYtU= X-Google-Smtp-Source: ABdhPJz3VGjcaREhiRJXYcgbj4i0IEOF7ornuO6w7LX5m2XEB/4NztqaV6m5y2MksmNQpIag5bWmFw== X-Received: by 2002:a17:902:fe0f:: with SMTP id g15mr1445494plj.204.1598271395782; Mon, 24 Aug 2020 05:16:35 -0700 (PDT) Received: from localhost.localdomain ([112.214.139.41]) by smtp.googlemail.com with ESMTPSA id j5sm11656610pfg.80.2020.08.24.05.16.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 05:16:35 -0700 (PDT) From: Adrien Crivelli To: Subject: [PATCH] ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion 15 inches Date: Mon, 24 Aug 2020 21:15:54 +0900 Message-Id: <20200824121554.73933-1-adrien.crivelli@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 25 Aug 2020 13:01:32 +0200 Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Takashi Iwai , Adrien Crivelli 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" The Galaxy Book Ion 15 inches uses the same ALC298 codec as other Samsung laptops which have the no headphone sound bug. I confirmed on my own hardware that this fixes the bug. Commit e17f02d05 mixed up 13 inches and 15 inches models. This clarifies the situation with the correct model names. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=207423 Signed-off-by: Adrien Crivelli --- sound/pci/hda/patch_realtek.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index a1fa983d2..98789691a 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7695,7 +7695,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x144d, 0xc169, "Samsung Notebook 9 Pen (NP930SBE-K01US)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), SND_PCI_QUIRK(0x144d, 0xc176, "Samsung Notebook 9 Pro (NP930MBE-K04US)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), SND_PCI_QUIRK(0x144d, 0xc189, "Samsung Galaxy Flex Book (NT950QCG-X716)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), - SND_PCI_QUIRK(0x144d, 0xc18a, "Samsung Galaxy Book Ion (NT950XCJ-X716A)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), + SND_PCI_QUIRK(0x144d, 0xc18a, "Samsung Galaxy Book Ion (NP930XCJ-K01US)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), + SND_PCI_QUIRK(0x144d, 0xc830, "Samsung Galaxy Book Ion (NT950XCJ-X716A)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8), SND_PCI_QUIRK(0x144d, 0xc812, "Samsung Notebook Pen S (NT950SBE-X58)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),