From patchwork Wed Mar 26 02:27:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 3891751 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A9CCDBF540 for ; Wed, 26 Mar 2014 02:28:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DEA0C20218 for ; Wed, 26 Mar 2014 02:28:13 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B02BC201C0 for ; Wed, 26 Mar 2014 02:28:12 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 72CF12650D8; Wed, 26 Mar 2014 03:28:10 +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, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 1B01A2650B4; Wed, 26 Mar 2014 03:28:00 +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 49A6C2650BD; Wed, 26 Mar 2014 03:27:58 +0100 (CET) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by alsa0.perex.cz (Postfix) with ESMTP id 645972650B3 for ; Wed, 26 Mar 2014 03:27:51 +0100 (CET) Received: by mail-pd0-f180.google.com with SMTP id v10so1247475pde.39 for ; Tue, 25 Mar 2014 19:27:49 -0700 (PDT) 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=rkTgTkw9SaPuYYd6FXQ3GgLrZp7D6mxwBhIN2ptslrc=; b=dExg4B/FMWux45wb/LnYNpHPhT/mQ2CpUZFx+w+LJ6DKko1DJsgT5sm0QSuXFnRVCG RGFlBsqSdUWEj0hbrxbOJfwaCq11BjDs7CHjMwitkgZuE9nf9BYbfhQryjra48WLUUOm EXCvnNNe4+JLIjRN/uEdyXYxbL9l+2P/AtXPjgYkMIBfvkeB388TRm8NHoMtqVRMrYTx 8ItasSmFrfiw/IUpZC17eANMYzizc8hnElX8QV662JWSynvSBEkJujvJfzXtUT9darXx m9kIj6Mtc4mMYuwY2TNzLz9Rt3y5jBf9e3yARI+bbJgDM2109DLlGD6/PZ6LEAiiHvUr s+ag== X-Gm-Message-State: ALoCoQm8yM4ogzEiQI/T0d048UJ7urhAcIlR5GYIY1SzD2TXaS4dYdIddIKGjO1R9eqvKfgCckch X-Received: by 10.66.148.98 with SMTP id tr2mr70413651pab.33.1395800869526; Tue, 25 Mar 2014 19:27:49 -0700 (PDT) Received: from hwang4-Inspiron-7520.Cisco ([116.213.97.190]) by mx.google.com with ESMTPSA id pp5sm51192027pbb.33.2014.03.25.19.27.46 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 19:27:48 -0700 (PDT) From: Hui Wang To: tiwai@suse.de, alsa-devel@alsa-project.org Date: Wed, 26 Mar 2014 10:27:41 +0800 Message-Id: <1395800861-2002-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 three 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 (VID: 0x10ec0255, SID: 0x10280632; VID: 0x10ec0293, SID: 0x1028062c; VID: 0x10ec0293, SID: 0x1028062e), the headset mic can't be detected, after apply this patch, the headset mic can work well. BugLink: https://bugs.launchpad.net/bugs/1297581 Cc: David Henningsson Cc: stable@vger.kernel.org Signed-off-by: Hui Wang --- sound/pci/hda/patch_realtek.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index b0e25e5..af5f903 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -4586,6 +4586,9 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1028, 0x0616, "Dell Vostro 5470", ALC290_FIXUP_SUBWOOFER_HSJACK), SND_PCI_QUIRK(0x1028, 0x061f, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0629, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1028, 0x062c, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1028, 0x062e, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1028, 0x0632, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0638, "Dell Inspiron 5439", ALC290_FIXUP_MONO_SPEAKERS_HSJACK), SND_PCI_QUIRK(0x1028, 0x063e, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x063f, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE),