Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp815442rwb; Mon, 26 Sep 2022 06:16:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM63KDtMh9WFgXtozva07Gf02Dbmx7yJksBRT0IHUZuN2YK4Qw4bUJ1QakUSekoQLb0LW7ab X-Received: by 2002:aa7:d453:0:b0:44e:4b1d:28a with SMTP id q19-20020aa7d453000000b0044e4b1d028amr21988777edr.112.1664198197903; Mon, 26 Sep 2022 06:16:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664198197; cv=none; d=google.com; s=arc-20160816; b=GfvC/gokyM9bNZjDctmH8f7I52R+Nc9dYn9ye3I1Qf72SLN+XhAZU5Xis9v5SveNrF OCrloirQBLYgycpj6h4Yf1zbdpuCYWKgCnQlUHAj0MdsnOwbm6A23+GRb/pYOI3tStdM ZDTNIl5jaiadacsDnJLlppekQ2Rwr18M+0FfhM3uIm7jzupa7NDBTZweOVXgWMNTEUeg sGvJ2jvov4eKKjjGbgi+9z/Xhg053HljrnMdWFKOZd471Eay/h8mB3p4Lf3T0AKiA0k5 Ihfg4ufY5ktA6/oTwD6NII+UBcP/KJxZkJ++RhsrGT1hBAOH4pRMDttob94Kk4/L8K5R wLIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yWJXqL0+V1sicvPrfVfP7pXy4FEZf0E00Ni7vR9OCjo=; b=UU0N026XxXrFsckqdvePhyZT3EYaErx0EUN0E0Prc+BL1NCqbfF4iK0CtCv11+jURU R2b0+XXd3z/titir0p1uqQP6l05FGee5I7wkxQFee4X8xcbEIs5C3gPMWczon3Yqn+yx JytcG0SiGcpwR+DVPUi9NhJ32F5xcfbQ3zlTdyDf7M7fT3hawL8Nc1UA4HhuRnHdwxm1 iONMVZEVP0LRvZtNO1d/jUdJ/VjU6UnYikyrOwhPazXFJERMlrq41XyWNqmoObpk8n1o mWR/9QNqI4R6x09/qJTGYNzrHM4Dzk6G5eCaKVTKCrOq3bspUaNqNMNl0+1fsYqRwyW2 oG6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fL5EwUdp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j11-20020a05640211cb00b0045184540977si18974847edw.203.2022.09.26.06.16.11; Mon, 26 Sep 2022 06:16:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fL5EwUdp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238187AbiIZLjl (ORCPT + 99 others); Mon, 26 Sep 2022 07:39:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238225AbiIZLii (ORCPT ); Mon, 26 Sep 2022 07:38:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF110264F; Mon, 26 Sep 2022 03:44:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B8969B80936; Mon, 26 Sep 2022 10:44:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE5BBC433C1; Mon, 26 Sep 2022 10:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664189076; bh=jaJeJqROZcvFq4vGFfZ+cR1vS7ttavk9mSvvB7maJes=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fL5EwUdpbRs9Yjg/lqGioIgYr+Cft5+UKZNg/ybPtp1nPKLecfSQsq9rPAA7Y/Rqz S6nxBcP0sIcYTmLklgskmAlREH9y+smorqQVj4mFSjncJhnvC+BrztkqYSy3x/6rV5 kV6cFIYG37ZeoPS0Bhb6GmwPiuVCpVh9/wGFIVFs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Luke D. Jones" , Takashi Iwai Subject: [PATCH 5.19 034/207] ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack Date: Mon, 26 Sep 2022 12:10:23 +0200 Message-Id: <20220926100807.983732518@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220926100806.522017616@linuxfoundation.org> References: <20220926100806.522017616@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Luke D. Jones commit c611e659044168e7abcbae8ba1ea833521498fbb upstream. Fixes up the pincfg for ASUS ROG Strix G513 headphone and mic combo jack [ Fixed the position in the quirk table by tiwai ] Signed-off-by: Luke D. Jones Cc: Link: https://lore.kernel.org/r/20220915080921.35563-2-luke@ljones.dev Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 11 +++++++++++ 1 file changed, 11 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7037,6 +7037,7 @@ enum { ALC294_FIXUP_ASUS_GU502_HP, ALC294_FIXUP_ASUS_GU502_PINS, ALC294_FIXUP_ASUS_GU502_VERBS, + ALC294_FIXUP_ASUS_G513_PINS, ALC285_FIXUP_HP_GPIO_LED, ALC285_FIXUP_HP_MUTE_LED, ALC236_FIXUP_HP_GPIO_LED, @@ -8375,6 +8376,15 @@ static const struct hda_fixup alc269_fix .type = HDA_FIXUP_FUNC, .v.func = alc294_fixup_gu502_hp, }, + [ALC294_FIXUP_ASUS_G513_PINS] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x03a11050 }, /* front HP mic */ + { 0x1a, 0x03a11c30 }, /* rear external mic */ + { 0x21, 0x03211420 }, /* front HP out */ + { } + }, + }, [ALC294_FIXUP_ASUS_COEF_1B] = { .type = HDA_FIXUP_VERBS, .v.verbs = (const struct hda_verb[]) { @@ -9330,6 +9340,7 @@ static const struct snd_pci_quirk alc269 SND_PCI_QUIRK(0x1043, 0x1d4e, "ASUS TM420", ALC256_FIXUP_ASUS_HPE), SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502), SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS), + SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS), SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2),