Received: by 10.192.165.148 with SMTP id m20csp2520981imm; Sun, 22 Apr 2018 08:45:23 -0700 (PDT) X-Google-Smtp-Source: AIpwx49euxdv1fSPsAeVxVb4esSzGE/0/9bM599TYHSZq4XO67QdmqQbdmuvFq/HC/Q9UyAavlQa X-Received: by 2002:a17:902:7291:: with SMTP id d17-v6mr17801549pll.218.1524411923305; Sun, 22 Apr 2018 08:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524411923; cv=none; d=google.com; s=arc-20160816; b=WNz/8NAwHBgGVhtCDuQpFfe/m2C7L9g39c644KsCLDnEjok0dZX6zxlb55+MGctk5+ 46ols1pl6MnzPdlWklp3TP2iUQeu+uLUq61omNBifycdiquXkjmAoasn/dJQxv5W83nt GunR+DBH2+a98Pw2BSJm8MTZ9LiHEaK5jJMqkiWVh1p2YUh1qgI32m7QgkYnxfZ0xckT CBPDjcznDPJEYbDCFgbm/OG8Yorjv746IqggfsFeZAw2CfQkpJJEw2ZdXfqBeh8+NY5Y dgCnLwqFWHKQrvvOxRp84QyQr5jpvCPBLg9bszIaByomW9weevcvd5mf+ej4j8eRcDqp nwPw== 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=Og3HTHEEzbJ/NaB7/jvMS8/g5lWV4Wxrkyz3A2OkU+o=; b=k+kPj3YQGDge3Vb0SVDOc67YP61tMopSXpgRqTsdzff3FVemXSo+Vp0A/9Bi9qsdEO d8nWJW+hrjao8df8R+46OgFX7LSNWkeal+X//b3x/b1A8yCjqcAEyShLS0sxHuD66dIF 6U4n+JBQsq2crE0tv46mkRhHpI5Kf2UO8sLJwx3DjrVRbLEgKJ1DalKiZojjpPDAxMlb lMDtQtNKuPo+JrG9QCZVlmlwltF3neiAHjOWfyxAXsXY6e+q/GrwUHYVFteJBmiWz50V r3bfgHsrvo/z6ltTsZh8ReSNR8BiVGU97xzRi9RJ3xXcsHpFGD7Tu+ZEhUHqv6hmuIuA 8rIg== 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 d9si6966149pge.290.2018.04.22.08.45.09; Sun, 22 Apr 2018 08:45:23 -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 S1755652AbeDVPmc (ORCPT + 99 others); Sun, 22 Apr 2018 11:42:32 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49096 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755008AbeDVODM (ORCPT ); Sun, 22 Apr 2018 10:03:12 -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 9E0ABCB8; Sun, 22 Apr 2018 14:03:11 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hui Wang , Takashi Iwai Subject: [PATCH 4.16 161/196] ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags Date: Sun, 22 Apr 2018 15:53:01 +0200 Message-Id: <20180422135112.555650407@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135104.278511750@linuxfoundation.org> References: <20180422135104.278511750@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.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hui Wang commit 3ce0d5aa265bcc0a4b281cb0cabf92491276101b upstream. Otherwise, the pin will be regarded as microphone, and the jack name is "Mic Phantom", it is always on in the pulseaudio even nothing is plugged into the jack. So the UI is confusing to users since the microphone always shows up in the UI even there is no microphone plugged. After adding this flag, the jack name is "Headset Mic Phantom", then the pulseaudio can handle its detection correctly. Fixes: f0ba9d699e5c ("ALSA: hda/realtek - Fix Dell headset Mic can't record") Cc: Signed-off-by: Hui Wang Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6370,6 +6370,8 @@ static const struct hda_fixup alc269_fix { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */ { } }, + .chained = true, + .chain_id = ALC269_FIXUP_HEADSET_MIC }, };