From patchwork Fri Nov 23 16:59:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anisse Astier X-Patchwork-Id: 10696201 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6DF1313BF for ; Fri, 23 Nov 2018 16:59:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A16D2B7E3 for ; Fri, 23 Nov 2018 16:59:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C7EB2B7EE; Fri, 23 Nov 2018 16:59:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06F5C2B7E3 for ; Fri, 23 Nov 2018 16:59:33 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 794582678DF; Fri, 23 Nov 2018 17:59:30 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 95640267A75; Fri, 23 Nov 2018 17:59:28 +0100 (CET) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by alsa0.perex.cz (Postfix) with ESMTP id 4EA0A2678DD for ; Fri, 23 Nov 2018 17:59:25 +0100 (CET) Received: by mail-wm1-f67.google.com with SMTP id s11so12630548wmh.1 for ; Fri, 23 Nov 2018 08:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=astier-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bg2Y8gHp/mteSo4bNBMPcFqzBvrwkVera9ijIduac7Y=; b=b4vF+Yb52f+uSssQLpoPRLoOf9LZDZtbSdR5vZLNDKc2Vd/pG9b2vY/kwZiuKdbdKv 5SU7JrZJVWSY5zTHidDZBA99gmb6mc022gz7LXxFcnah3KQRKOw0M/nfk9T4+HHkfLN0 I9HLhG5kDVSBWodZVTIt6zDV/IxjUZl+nG5+1IEpXddwppYG4IhfGDDEE/fYb10ZmKgL +cPNvvL6RoeD/didtuZr1ON0EPivsSL2Cy0mrW6wJ5Va+Q19Up7xub42pw8OBdkNfFAR VXw4oRruTRWlcexl+AQaGcVQO5AiElNReuZx97QYBUebpNwjfThvPQtq9trEtCpvl7Jy 42Sw== 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=bg2Y8gHp/mteSo4bNBMPcFqzBvrwkVera9ijIduac7Y=; b=Z4ydKQRRlcBG5PtjuFrIWUBa22cilGAtbYnKv+jUAjNF+7Z+uBu2EVGhPU7j5Oe5Vn 4KgLPXI3UPa+qMcEQ0iNYa+HogfI8nyEp0wlEWCBDBbV9DKWTE3gPhxStyPBqLSQy6MS qeKN8JIm6NCYwRa89Y12EUK1HIL4lUz/k81jPeF7oc4R31mZSlzOS6HMobH12QXL2K3a ROVxlWKYh+9qlYOQllhDHyRnpjm8zbbvdVLqdRl1dnjc82Jl9BrX1XsZOMaU8J1oRlAs 5oIakA+woLMIuf8VjfO3g+1/zTdQC6+BY9w2yqrGFJEz7ZfLdsizyYX2L7eLzYTii2B9 fD/Q== X-Gm-Message-State: AGRZ1gLka9kGTTFpFQXQsu4VH1ClMdZqCgXhuUGOrXznuZj8BkfxvifB oYwUm2xJYKWCkycWTowqOEKcqz4D4K4= X-Google-Smtp-Source: AJdET5d60T3/+DxAhLPNF0554PM7jzxn7eKLRl7hMLgKt29KhjmolotUvt770NdWqvfmQLl5RXdtpw== X-Received: by 2002:a1c:f41:: with SMTP id 62mr14101356wmp.96.1542992365074; Fri, 23 Nov 2018 08:59:25 -0800 (PST) Received: from jaya.substantiel.local ([92.103.140.194]) by smtp.gmail.com with ESMTPSA id o81sm3967358wmd.10.2018.11.23.08.59.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Nov 2018 08:59:24 -0800 (PST) From: Anisse Astier To: alsa-devel@alsa-project.org Date: Fri, 23 Nov 2018 17:59:11 +0100 Message-Id: <20181123165911.4095-1-anisse@astier.eu> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Cc: Takashi Iwai , stable@vger.kernel.org, Anisse Astier Subject: [alsa-devel] [PATCH] ALSA: hda/realtek - fix headset mic detection for MSI MS-B171 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP MSI Cubi N 8GL (MS-B171) needs the same fixup as its older model, the MS-B120, in order for the headset mic to be properly detected. They both use a single 3-way jack for both mic and headset with an ALC283 codec, with the same pins used. Cc: stable@vger.kernel.org Signed-off-by: Anisse Astier --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index fa61674a5605..1e789e43a5f4 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6531,6 +6531,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8), SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC), SND_PCI_QUIRK(0x1462, 0xb120, "MSI Cubi MS-B120", ALC283_FIXUP_HEADSET_MIC), + SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)", ALC283_FIXUP_HEADSET_MIC), SND_PCI_QUIRK(0x17aa, 0x1036, "Lenovo P520", ALC233_FIXUP_LENOVO_MULTI_CODECS), SND_PCI_QUIRK(0x17aa, 0x20f2, "Thinkpad SL410/510", ALC269_FIXUP_SKU_IGNORE), SND_PCI_QUIRK(0x17aa, 0x215e, "Thinkpad L512", ALC269_FIXUP_SKU_IGNORE),