From patchwork Fri May 20 05:24:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai-Heng Feng X-Patchwork-Id: 9128611 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B3AD56048B for ; Fri, 20 May 2016 05:25:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C34820622 for ; Fri, 20 May 2016 05:25:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8071B25D91; Fri, 20 May 2016 05:25:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14EFC20622 for ; Fri, 20 May 2016 05:25:25 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 97E822650BD; Fri, 20 May 2016 07:25:23 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 9D4FC2606E3; Fri, 20 May 2016 07:25:15 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8FCB5261293; Fri, 20 May 2016 07:25:14 +0200 (CEST) Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by alsa0.perex.cz (Postfix) with ESMTP id 63D5A260647 for ; Fri, 20 May 2016 07:25:07 +0200 (CEST) Received: by mail-pf0-f196.google.com with SMTP id g132so10184320pfb.3 for ; Thu, 19 May 2016 22:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=2a3vkYbyBU1aIUJydsiPYq6x8eC57raNH145x/YmOUE=; b=xW3V/UVCbNamZ6E0fis0yC2OQMij21odaLpbWK5NhU2JNtDR7oVLQYYGi7nE2iDcyI WxPhd0iW27sW4pfHxIpHLNhsvDd2CiGYNEXyyYLc6NJ6BLK0/ZnzIbPfa4mIivXCbgBV /FCKEv5XKZwACGDnhnDg2+v+DkdJLwej3/eUE2uUClVLhzIhCO/+A9ytuDkRumHuvqV3 /9IhXLMsoorH/M8AlB9qeibkktU/lHxrXirp5kTfant+2355gvLnDWonElHXjT4PJQ2s RB3Y+XFUEP4kbHSgWoU1U5DWixsgftHJxA3wCSjMxOv6xgMWta7cVsNjOHK5zt9E5+xl Q9dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=2a3vkYbyBU1aIUJydsiPYq6x8eC57raNH145x/YmOUE=; b=SS3sY8uRytRCF7ejN3Av+DL3H2MwcVFMV9wrOydZ9/9hpX9traf+VcPr8iG+hkE4of TXfoEvBUzPBZPEreZZQxqPE7ZDHlQ/yPSuKi4/0zv8CIcuMdqjE1CgFY6+9LtDhsrPFG tR646uz0i1TM9rjPx+8Jlj1bfLXJHNmN5+JjcHHFLOLcJS6WCGdxZckafHRexyUD5EpF bWnmRhnWlUu80uK6//puoFhAJp6aNx6SGQ+uBMq3NVWrVJ7t5/6Xfl9rbtXRHnP6syj7 yk66eQLgq+ZULXjQRYEBPjRImmEkgadANhU2I0VPgzTTr8GuYPWAV0hZ/1gt+E5HZWRX 2XmA== X-Gm-Message-State: AOPr4FUHB29+nGlhXxr/Q2ooNlumtt7t8vqZAdOPEVo6x6q0bQ0DFdXcE5t48YtXHsrrFQ== X-Received: by 10.98.74.142 with SMTP id c14mr1785086pfj.63.1463721905880; Thu, 19 May 2016 22:25:05 -0700 (PDT) Received: from localhost ([175.41.48.77]) by smtp.gmail.com with ESMTPSA id t62sm23686204pfa.38.2016.05.19.22.25.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 May 2016 22:25:05 -0700 (PDT) From: Kai-Heng Feng X-Google-Original-From: Kai-Heng Feng To: tiwai@suse.com Date: Fri, 20 May 2016 13:24:49 +0800 Message-Id: <1463721889-12131-1-git-send-email-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.8.1 Cc: hui.wang@canonical.com, alsa-devel@alsa-project.org, Kai-Heng Feng , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH] ALSA: hda - Fix headphone noise on Dell XPS 13 9360 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The headphone has noise when playing sound or switching microphone sources. It uses the same codec on XPS 13 9350, but with different subsystem ID. Applying the fixup can solve the issue. Also, changing the model name to better differentiate models. Signed-off-by: Kai-Heng Feng --- sound/pci/hda/patch_realtek.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 002f153..e6af865 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5466,7 +5466,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1028, 0x06de, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK), SND_PCI_QUIRK(0x1028, 0x06df, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK), SND_PCI_QUIRK(0x1028, 0x06e0, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK), - SND_PCI_QUIRK(0x1028, 0x0704, "Dell XPS 13", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), + SND_PCI_QUIRK(0x1028, 0x0704, "Dell XPS 13 9350", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), + SND_PCI_QUIRK(0x1028, 0x075b, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), SND_PCI_QUIRK(0x1028, 0x0725, "Dell Inspiron 3162", ALC255_FIXUP_DELL_SPK_NOISE), SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),