Received: by 10.213.65.68 with SMTP id h4csp426695imn; Tue, 13 Mar 2018 08:42:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELsM8cuMsJj9ebN4ZAnOKgIRKVYiY1fW5oOqMdiD769KwMy4Vr/ZIdkY8NvNfRrTRE60PIJ6 X-Received: by 10.98.103.136 with SMTP id t8mr1028687pfj.177.1520955754231; Tue, 13 Mar 2018 08:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520955754; cv=none; d=google.com; s=arc-20160816; b=pDUfrCLBoQ3NjEj9Xp0YXOXdrTHFHtMfNfJlfqn4VD4RLv9JxE33rw/IEQNLDqRPKr t01J7oDmRb4ujz26MUcJK/ENcPLzyZNjZfw6GY10t1fBl6z2rQ1TyZm4P9qQo6IpW7Tt hU2nb4WDcxcyOe3csydLX56HDZufIQ0YNDJ5+YwdkYA3j176sO93NxU5ANIQpWzIoZV/ 7D27EIc6dkp0GiqKO+pJUg9QXgYqMh0kp6xrQvfZ2uSlOPvRIlbQK4UIH3sbRpiBTk7t u+XWTpO0Hssu97ng817y7B7m7cWYZJmtM2tFmb4rC7b//HdCD3/OebAsgiXA7yUzBKa5 SYeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=SO0Ca4DFVGYkqBt1m2uBR5IL9bqdM1ShvkIvMbZCKwo=; b=EfN2p2tTXr1EoaWEx++9Nec+S1UKNQjFrEqFoLzSgs5c8XOqVxHcWjt+LU5VnGB3nW jDf8LAw1peHyHh+H6idA+B1lY1SWkGvD4Tl54QmC9MNxTSKIlUOofW+ncfZDaoS2YJXP vxx6kYHxnn5u5Th3QJNE+8UvzpjX45/7wAfim85cwufOX9aLRBmUGrE0NE+bryyoDUJS vAMwH6zNvCS2GWpnaqDirtpwuDupXNXQ0mySzIM6bReDAV/JMi8azRzZ95L4AyzayLgA LV93wj/dTRX5bOE9yS7VSRJ8wpUFwHkCrKO+5R1ctGjtsf4XJVPNNC3XyYX233ZatEn4 GToA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5si258637pgd.345.2018.03.13.08.42.19; Tue, 13 Mar 2018 08:42:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934853AbeCMPkO (ORCPT + 99 others); Tue, 13 Mar 2018 11:40:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35536 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934821AbeCMPkC (ORCPT ); Tue, 13 Mar 2018 11:40:02 -0400 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 785DD1047; Tue, 13 Mar 2018 15:40:01 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kailang Yang , Takashi Iwai Subject: [PATCH 4.14 101/140] ALSA: hda/realtek - Add support headset mode for DELL WYSE Date: Tue, 13 Mar 2018 16:25:04 +0100 Message-Id: <20180313152504.951732213@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180313152458.201155692@linuxfoundation.org> References: <20180313152458.201155692@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kailang Yang commit 5f36413526677b11d3226ebf064f471894ea2e5d upstream. Enable headset mode support for WYSE platform. Signed-off-by: Kailang Yang Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5335,6 +5335,7 @@ enum { ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE, ALC233_FIXUP_LENOVO_MULTI_CODECS, ALC294_FIXUP_LENOVO_MIC_LOCATION, + ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE, ALC700_FIXUP_INTEL_REFERENCE, ALC274_FIXUP_DELL_BIND_DACS, ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, @@ -6138,6 +6139,18 @@ static const struct hda_fixup alc269_fix { } }, }, + [ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x16, 0x0101102f }, /* Rear Headset HP */ + { 0x19, 0x02a1913c }, /* use as Front headset mic, without its own jack detect */ + { 0x1a, 0x01a19030 }, /* Rear Headset MIC */ + { 0x1b, 0x02011020 }, + { } + }, + .chained = true, + .chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC + }, [ALC700_FIXUP_INTEL_REFERENCE] = { .type = HDA_FIXUP_VERBS, .v.verbs = (const struct hda_verb[]) { @@ -6223,6 +6236,7 @@ static const struct snd_pci_quirk alc269 SND_PCI_QUIRK(0x1028, 0x075b, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), SND_PCI_QUIRK(0x1028, 0x075d, "Dell AIO", ALC298_FIXUP_SPK_VOLUME), SND_PCI_QUIRK(0x1028, 0x0798, "Dell Inspiron 17 7000 Gaming", ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER), + SND_PCI_QUIRK(0x1028, 0x080c, "Dell WYSE", ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x082a, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), SND_PCI_QUIRK(0x1028, 0x084b, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB), SND_PCI_QUIRK(0x1028, 0x084e, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB),