Received: by 10.213.65.68 with SMTP id h4csp893257imn; Tue, 27 Mar 2018 10:43:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx48kPnnHDiyZPs/D0Xl2WDssrFB6UxLDskihTR0BlxS8nBKDDRvypor/VVaAmDiLolmK0z/t X-Received: by 2002:a17:902:aa89:: with SMTP id d9-v6mr223133plr.337.1522172592817; Tue, 27 Mar 2018 10:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522172592; cv=none; d=google.com; s=arc-20160816; b=EmjUF2uyOWBaeCnoU8axBXDm/zMuhhCAjTPsuwuQncG0KR/Wb2DIlBZHNBDGlaN3a/ 5aGsHIhzJSO9JkTMt+FZrkgH32Xu9pztBBYR0T25Azkcuke7c6aD6tIws0pqNgj7BrG/ NlNjFAXMQnkaIUFXD8GdK0i+xXXO8CHIGK9Fgya17NJUbGTHStVTHQrvnm4f8haa5x6+ u3J0O+1O1DmKDvYFDd8l4FT9MEHHZ0DMX3WlpIcuQhRleDH8q/BpWsw3yibAzWjOW1NA FUFTCUjitwBRq0dPP6zWe6mHpq4j7ASbLRzjrusdrSDWK8jyekpVRBo3n8KKm8A09v8Y zNUA== 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=2xUduSIcqXfn0J+NJPujYq6zZPVaqwGEkchGlI74Kuo=; b=jqesLHiMIbkYbxZi/EorI/nVkiTIgtZfqqwf2B5PXkWj7xLglc1UhFQCAq10AFmyJW j+sp6cdl0LreTDYa2avDsFf6boNMQLv+oG3ZN1teFBWkqXFHVWJGz/CA41HHVjUgTrf9 TU52mLpC+UJZcnzjV8gZLUB6SZoWbj8RjeAGZ+oAHecBfTpGfI5XDyG8lEre20hwetDR 5BJiAMZAWSIiaBSXh3rJgOLZSaR3IeVK3VxyqLzonz1rvRQayGl0zOi0Mt+RCg6sWX9f BCf5sZGKz/FsF+W5f+tPi6jXzjg8f3TjPe8x9S0xl7dzolqSEJEDiZbry9TZGD0B4nZc MQIw== 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 g3-v6si1542879plp.662.2018.03.27.10.42.58; Tue, 27 Mar 2018 10:43:12 -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 S1752090AbeC0Rk6 (ORCPT + 99 others); Tue, 27 Mar 2018 13:40:58 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44162 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754129AbeC0QeC (ORCPT ); Tue, 27 Mar 2018 12:34:02 -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 26BD31210; Tue, 27 Mar 2018 16:34:02 +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 014/101] ALSA: hda/realtek - Fix Dell headset Mic cant record Date: Tue, 27 Mar 2018 18:26:46 +0200 Message-Id: <20180327162750.858265252@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162749.993880276@linuxfoundation.org> References: <20180327162749.993880276@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 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 @@ -5354,6 +5354,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[] = { @@ -6214,6 +6215,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[] = { @@ -6268,6 +6276,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),