From patchwork Tue Feb 18 02:56:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 3666891 X-Patchwork-Delegate: broonie@sirena.org.uk Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0001F9F1EE for ; Tue, 18 Feb 2014 02:59:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 37457201FD for ; Tue, 18 Feb 2014 02:59:37 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 030FD20166 for ; Tue, 18 Feb 2014 02:59:36 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id D1ACF265146; Tue, 18 Feb 2014 03:59:32 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id A7D9B26510F; Tue, 18 Feb 2014 03:59:22 +0100 (CET) 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 3BB9126511F; Tue, 18 Feb 2014 03:59:21 +0100 (CET) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by alsa0.perex.cz (Postfix) with ESMTP id 7AD062650C5 for ; Tue, 18 Feb 2014 03:59:14 +0100 (CET) Received: by mail-pa0-f52.google.com with SMTP id bj1so16109227pad.11 for ; Mon, 17 Feb 2014 18:59:12 -0800 (PST) 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=EaUcX4GlI8/4r5DYBBaiBWrQgFYxTPzM3b466y4c2Os=; b=XrhBKOhVEatVTNN3K2Pe29xtIOsIizMCNDSR/THIyb2SWhV+/yV02eI4GPTpNzuKqh pIsge5VLtIH9Siigg2ihKgueVqNBaxGt0KENEsoXNmIWoagr01jOjpCvLj140RXFk2hr kJqVycfa/phouJDdR4D4qVDq5rcRnIM+Ks10q4GyLnCy3et3kn9CssUzKwQ87abautNj luxcT9vOTFzGDcDZ/Vyz++DR/SsT8H7GAeW1JnxFP8edgwsixw9/Y94uriu8iUGeuy9b CBYjGLRVZ6EiBpvnt01RHN/tPucxIpPeaxCQCdP9yh6A3fwB5bsRlC40b3xEHYSl8/tf I37g== X-Gm-Message-State: ALoCoQlfJDYUBgJBBZrG8QQsKweMQ9X+WAgokrvBkWfCo5tiU+0rRcf5v5mN4OdJbD6AZnAJO7eA X-Received: by 10.68.163.197 with SMTP id yk5mr30170929pbb.57.1392692352377; Mon, 17 Feb 2014 18:59:12 -0800 (PST) Received: from localhost.localdomain ([116.213.97.190]) by mx.google.com with ESMTPSA id gj9sm1415696pbc.7.2014.02.17.18.59.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 18:59:11 -0800 (PST) From: Hui Wang To: tiwai@suse.de, alsa-devel@alsa-project.org Date: Tue, 18 Feb 2014 10:56:46 +0800 Message-Id: <1392692206-14996-1-git-send-email-hui.wang@canonical.com> X-Mailer: git-send-email 1.8.1.2 Cc: hui.wang@canonical.com, stable@vger.kernel.org, david.henningsson@canonical.com Subject: [alsa-devel] [PATCH] ALSA: hda - add headset mic detect quirks for two Dell laptops 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 When we plug a 3-ring headset on the Dell machines (Vendor ID: 0x10ec0255, Subsystem ID: 0x10280657; Vendor ID: 0x10ec0255, Subsystem ID: 0x1028065f), the headset mic can't be detected, after apply this patch, the headset mic can work well. BugLink: https://bugs.launchpad.net/bugs/1260303 Cc: David Henningsson Tested-by: Cyrus Lien Cc: stable@vger.kernel.org Signed-off-by: Hui Wang --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 2145148..0d80c7f 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -4309,7 +4309,9 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1028, 0x0651, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0652, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0653, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1028, 0x0657, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0658, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1028, 0x065f, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0662, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x15cc, "Dell X5 Precision", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x15cd, "Dell X5 Precision", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE),