From patchwork Thu Dec 27 08:46:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10743617 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7F0C46C2 for ; Thu, 27 Dec 2018 08:48:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 607D92864A for ; Thu, 27 Dec 2018 08:48:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F0E92866D; Thu, 27 Dec 2018 08:48:00 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham 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 6619E2864A for ; Thu, 27 Dec 2018 08:47:55 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 5501E267AC4; Thu, 27 Dec 2018 09:47:53 +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 0652D267AC8; Thu, 27 Dec 2018 09:47:51 +0100 (CET) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by alsa0.perex.cz (Postfix) with ESMTP id AA0A5267A78 for ; Thu, 27 Dec 2018 09:47:47 +0100 (CET) Received: by mail-pl1-f195.google.com with SMTP id t13so8521364ply.13 for ; Thu, 27 Dec 2018 00:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=SHKNXe4HKNONv4KdYPKssXR4FAHILgSub4oCw/+Li5o=; b=y+tqJct/633ICXGqSLUc88a6tw/uoHc1WrN61RsSjq2b4by3bFhLfnoWCjOOW550B5 MaCcD0VhWlL9ed55s4t7fW2cCv1wa9RXQxy8LpNhctRjH8FBnqn7SMI7QekPC2Vt/2JY bs0ADv9tzRvJJ/1bnoG0rHsb1ewP8m3/X1NmbtdrZDUBNEIvy4TtzkRdMCVmIxihFese XQecM8r0nTxVFZc2swgF2+h79fNQ/hj8ODnTy27zdc6240n+cZgclSNngok4Gz8XLpiS NAMazU3Iw78AyO1lFNK5n8P5jlKieVU6XlwcdwDOGr93lyCrvHCBeDEd9lxmbDTcfrPc 2WpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=SHKNXe4HKNONv4KdYPKssXR4FAHILgSub4oCw/+Li5o=; b=k+lmdX/AXOq6MJcEOWVBG7f1R7Lj5c6TjARwe7GCR/YOOzzdtTbSFsvHfBresZ+z8E nNU7M7dhgHPkRNODUqPJOkKlkmEo6MoKQiKmWFQxqcFIIEaVI9YRaMaDcmIS1TmjiNDd vxGqjlcH1ZkCTOUwnNNFqnB+cKmzhc3bH70X2zJSQuKu4IBKaksPu8DHlE0+Xt69Xh9C VqXwu4dyFJt7xBDNp9Lf1DZTig6s8QyazTUBCG+MFT3+iZDHhg75O3qK+7W+LR3SUgEU BE032keVnPfbhHKcssKQc/jNargyBMQZoyWazTtdBQjam9dJsRJw99KvytdcsM0jhki1 Rk0w== X-Gm-Message-State: AJcUukeMK+P4bovgI9dx+Y8bImmbEwb9SI9JoeM1VjcyDjIskiAQ6H9m K28F1TT969ivRviZmuxKGeKx8w== X-Google-Smtp-Source: ALg8bN4v9LQkH6s7wKN0SSbOJ3xWB+HfkiJ6/UZbR2FUKVg11PnVwMRkhF+pceGdOmI69Z2Y1WDyvg== X-Received: by 2002:a17:902:2:: with SMTP id 2mr23464949pla.228.1545900465562; Thu, 27 Dec 2018 00:47:45 -0800 (PST) Received: from localhost.localdomain (125-227-158-176.HINET-IP.hinet.net. [125.227.158.176]) by smtp.gmail.com with ESMTPSA id j70sm53017068pfc.43.2018.12.27.00.47.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Dec 2018 00:47:45 -0800 (PST) From: Jian-Hong Pan To: Jaroslav Kysela , Takashi Iwai , Kailang Yang Date: Thu, 27 Dec 2018 16:46:31 +0800 Message-Id: <20181227084631.2934-1-jian-hong@endlessm.com> X-Mailer: git-send-email 2.11.0 Cc: Hui Wang , Jian-Hong Pan , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Daniel Drake Subject: [alsa-devel] [PATCH] ALSA: hda/realtek: Enable the headset mic auto detection for ASUS 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 The headset mic of ASUS laptops like UX533FD, UX433FN and UX333FA, whose CODEC is Realtek ALC294 has jack auto detection feature. This patch enables the feature. Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- sound/pci/hda/patch_realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index a4f4a9dd488d..aee4cbd29d53 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6501,7 +6501,7 @@ static const struct hda_fixup alc269_fixups[] = { [ALC294_FIXUP_ASUS_HEADSET_MIC] = { .type = HDA_FIXUP_PINS, .v.pins = (const struct hda_pintbl[]) { - { 0x19, 0x01a1113c }, /* use as headset mic, without its own jack detect */ + { 0x19, 0x01a1103c }, /* use as headset mic */ { } }, .chained = true,