Received: by 10.213.65.68 with SMTP id h4csp465571imn; Tue, 13 Mar 2018 09:55:52 -0700 (PDT) X-Google-Smtp-Source: AG47ELuQw0dJXoU0ZQNgqRg3RpuQGavGxAdiv/s9TAvLvGguOviL0leQHKDnr5ko5nH93dU5U7Ky X-Received: by 10.101.66.193 with SMTP id l1mr1029171pgp.57.1520960152598; Tue, 13 Mar 2018 09:55:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520960152; cv=none; d=google.com; s=arc-20160816; b=nVYTN8w9GtlKFHVbcy5NJApovXm4MvdKfauAmKPNaomIBQBB+QYjX7axeuUKLD60zk C9wAtxoPKgty9E1mihKl5mqOIX11suxU52Uir5keJpVNTHAShkBquBkf/XEJIFY8DWAV uF9YYcxRxcE9ne2CeBatBTJHJVA4AQpbvUOOeFyj/5ehUy0mppW6utFUPdcttIcbv4E+ pJH4KN02/yaTfib5UbjLuHgZgCxf7bRfUh/QFatuZxzCIcJyze263ZQDPT2SY8R+3WGX ER7kw8jQJnV//7VHKTIIk+zPYlC00q9kYukMvM2+m17GKT+5WFQNNBjFwDJylIYdgOsK tSpg== 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=6y8tqE74KMeB6mSNQRfx7RGeGq6qOETN3HKll+KcmiU=; b=TxeslcF2KMsnw33Jd/F4FMRh3idVbS2k/S5NkB89nfeLIcIOXcsKGhxVopFkgmxgs4 WCy1/jGWFn999k56NPG8A9ClLdeDxcfLxPQGG2m5akojMYIH7O8QgFY5udQBfT7ugKNu tZosEwGAqimJkW4gNYbDDFVrLxaWX3Nl0Z4u7YDX0/urHCt++M5FE2lkdMUk038LLYMW 1QTNBKkF9936JjSLmEZ1wJSdYbgXxeaQo4UVdGhV+bBPF0/kj8RwlA2pvTo+FBJ0qJLO CL10XX3bOevSPD2wxPPRBaUX3JkOGcG3r61sv4+9a1ZgdgnmoWj+iVnxstKnC0cIwAD4 F05Q== 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 t11-v6si294933plo.225.2018.03.13.09.55.37; Tue, 13 Mar 2018 09:55:52 -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 S1752597AbeCMPai (ORCPT + 99 others); Tue, 13 Mar 2018 11:30:38 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:58872 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752575AbeCMPag (ORCPT ); Tue, 13 Mar 2018 11:30:36 -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 B5C781113; Tue, 13 Mar 2018 15:30:35 +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.15 066/146] ALSA: hda/realtek - Add support headset mode for DELL WYSE Date: Tue, 13 Mar 2018 16:23:53 +0100 Message-Id: <20180313152325.781477915@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180313152320.439085687@linuxfoundation.org> References: <20180313152320.439085687@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.15-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 @@ -5358,6 +5358,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, @@ -6161,6 +6162,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[]) { @@ -6246,6 +6259,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),