Received: by 10.213.65.68 with SMTP id h4csp869902imn; Tue, 27 Mar 2018 10:16:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Z66t1xGvP3FIc4lLLoPIZjAHhZIyvjFlnLaS5Zsj+rmcFPM5dByt/remrE1OReNk9VSzf X-Received: by 10.98.19.132 with SMTP id 4mr131441pft.87.1522170986067; Tue, 27 Mar 2018 10:16:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522170986; cv=none; d=google.com; s=arc-20160816; b=v36eLoDpOwB6tIsJlQZwGfV40Gxs8M15kpwbUOcAf4h47cUrh+xy7iup0C8Yooam36 7LqfyoJPEPVA2DzrSxC3iRSoyg81pKQDTATstlNucFJ5bf4eJVO3Yi/nT7VXsZT3WRQZ qL/LOPvXlnEdwJJZwr045vetCVLa3N9Af7kGpyJBZbN4TuMRwjzTqepPr4XEB57N+lVq mYjcH1tK5CNa+l430trTkWhIq0Ai0c5WmT459qDLxOjaN97MIUmqMyUO9EbCcHptBjVa CSABoGuYp16Izs6ZkC+xS1mEOsirh5tXJsIBQ0Bt42GL7mfWasA3XmVQLNBTxZLz/6D1 ItvQ== 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=RJ6QdBm5T5Vk20DU3JTuk1exjVPz/4YeYZbd+zmvHN0=; b=ZBYa7Sgz5cATlWM4kdLOKnp7Z1Dra2i+98mRCuSlbWKdkCS+SGFtvi3WIUNNzang+r 42pgYEuYzb7EAKILeT1jApKHlzhgkMw1KNBY761+IFIrF16ejjcWL+dajPlNANI2ZpDb S7/xYx0CdRMVP4kdC1KFcPVP88/IHTs7l6sy5YzPIbBBf7gUvm78tGX+oajVmVIQpqW3 NQvmMxfu9Xkqm5xa4KhAW56IpU7QPM0MNNxhcazBIvpMsaSTKLoFpkJmnf9091pAVVr6 SFuW1ucrFZeNeOJqF9VcFjxpYoEf8dMUigae3+6O8aleh5pkxbG0rV3bH47c3T59M2DU lI6A== 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 j91-v6si1632718pld.14.2018.03.27.10.16.12; Tue, 27 Mar 2018 10:16:26 -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 S1751840AbeC0RPY (ORCPT + 99 others); Tue, 27 Mar 2018 13:15:24 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47024 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755319AbeC0Qi4 (ORCPT ); Tue, 27 Mar 2018 12:38:56 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id F1935102D; Tue, 27 Mar 2018 16:38:55 +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 014/105] ALSA: hda/realtek - Fix Dell headset Mic cant record Date: Tue, 27 Mar 2018 18:26:54 +0200 Message-Id: <20180327162758.445343517@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162757.813009222@linuxfoundation.org> References: <20180327162757.813009222@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 f0ba9d699e5ca2bcd07f70185d18720c4f1b597c upstream. This platform was hardware fixed type for CTIA type for headset port. Assigned 0x19 verb will fix can't record issue. Signed-off-by: Kailang Yang Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 10 ++++++++++ 1 file changed, 10 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5377,6 +5377,7 @@ enum { ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, ALC298_FIXUP_TPT470_DOCK, ALC255_FIXUP_DUMMY_LINEOUT_VERB, + ALC255_FIXUP_DELL_HEADSET_MIC, }; static const struct hda_fixup alc269_fixups[] = { @@ -6237,6 +6238,13 @@ static const struct hda_fixup alc269_fix .chained = true, .chain_id = ALC255_FIXUP_DELL1_MIC_NO_PRESENCE }, + [ALC255_FIXUP_DELL_HEADSET_MIC] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */ + { } + }, + }, }; static const struct snd_pci_quirk alc269_fixup_tbl[] = { @@ -6291,6 +6299,8 @@ static const struct snd_pci_quirk alc269 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), + SND_PCI_QUIRK(0x1028, 0x0871, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC), + SND_PCI_QUIRK(0x1028, 0x0872, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC), SND_PCI_QUIRK(0x1028, 0x0873, "Dell Precision 3930", ALC255_FIXUP_DUMMY_LINEOUT_VERB), SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),