From patchwork Sat Oct 22 07:18:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 7162 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1088312wrr; Sat, 22 Oct 2022 00:39:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM44XF/li9l1B7P8euH7DSnU/B6LgEsikZsj6dMpDM9ec0CAhbPBJ+s8sedEXR3bvgJtqOXl X-Received: by 2002:aa7:d5d3:0:b0:458:814c:6d57 with SMTP id d19-20020aa7d5d3000000b00458814c6d57mr21245095eds.186.1666424376529; Sat, 22 Oct 2022 00:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666424376; cv=none; d=google.com; s=arc-20160816; b=LDWVFhNj2IJfqfAcmeoOACSb/wm2RIoycXv/KaErbDaGjWWgPgWVM7ghrNfVX/grRD k47RX6qTJqZWAY0hMdprRLCDsJ0pihB08qmS4npL6bralT0js6emuoGYynAb7a0S6awe 3Qj+F4QHm5g1Kfmz2r9HB4zoJ5UiVZ4bDBUTm0it4GnsUiwP1CJPKmtnSuyue/11DYW7 6MLsGT2GQ6TR7xc7kvoQGjiHkSxayTemz1BlIdtptn6+cyizKexr6JEZAAyQgnOiMDib fRVoy71XI67ZromVpkRFQQ7G7cN/ufszVvJIp7r0+DvYpEFKrOiyTOwlU3FB+LK0HMOE zecQ== 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=vkUXuT3ooxIRPildZr43SS7l3+bta1AwCZ7A7ojUqM8=; b=q3DwdSK3bDpttSpTpMzETgwyiaFbyaZo8zgRMnbo79421VryrDz6amlsxSc77owfgm T7FT3RTa9jF8GSXIwU25Ky2aEi8YXLcV6qA7+VqnJ1WI9FGDYj2JtAP6vOtXUgavorhi u7KXu8vkibgAdoFwmmGAul5zvntfzPX/9c7wtTBXwGkgENvXf36oJWIB3m7JPnLEouAT N7v6T7knJ8YLU7hjM/W/Mu/NevOdVQcPz6olGtijFtGNffXx72OcOzGYj+tyIQrfO6zu TSstSWfjIZiJ0pO5zOtrfI5pf6vrEKm1jEn8Jm0XW2VghOaIviJum4R9XaduDM5X47vJ 2nQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wqoob1K9; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp19-20020a170906c15300b0078c47b4478esi20713409ejc.106.2022.10.22.00.39.12; Sat, 22 Oct 2022 00:39:36 -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=wqoob1K9; 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 S230217AbiJVHil (ORCPT + 99 others); Sat, 22 Oct 2022 03:38:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230387AbiJVHhR (ORCPT ); Sat, 22 Oct 2022 03:37:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41FC33EA43; Sat, 22 Oct 2022 00:35:28 -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 02D79B82DE2; Sat, 22 Oct 2022 07:35:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B79EC433D7; Sat, 22 Oct 2022 07:35:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666424120; bh=W1TBsJ7qVPDisZmRcj5ehPhfk4MheiAIYfQxWqtgAmo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wqoob1K9hwXnc9vBpWZsqcxYdJI3BpfU9ffeT21JHOu1NHYT5qdTGmgtlmyUUFoVd sEiiYAGm/NdWQ9CVGFN6qSGCi4Y1r3mf28TJpF8+fx8DwFqWwjinOzkuggOyOibKpj 4LBbicRTObPMbqJ1usitTjUNjQ61c3jrmQrkqsy8= 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 007/717] ALSA: hda/realtek: Correct pin configs for ASUS G533Z Date: Sat, 22 Oct 2022 09:18:06 +0200 Message-Id: <20221022072416.364454804@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747372607022165285?= X-GMAIL-MSGID: =?utf-8?q?1747372607022165285?= From: Luke D. Jones commit 66ba7c88507344dee68ad1acbdb630473ab36114 upstream. The initial fix for ASUS G533Z was based on faulty information. This fixes the pincfg to values that have been verified with no existing module options or other hacks enabled. Enables headphone jack, and 5.1 surround. [ corrected the indent level by tiwai ] Fixes: bc2c23549ccd ("ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack") Signed-off-by: Luke D. Jones Cc: Link: https://lore.kernel.org/r/20221010065702.35190-1-luke@ljones.dev Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8396,11 +8396,13 @@ static const struct hda_fixup alc269_fix [ALC285_FIXUP_ASUS_G533Z_PINS] = { .type = HDA_FIXUP_PINS, .v.pins = (const struct hda_pintbl[]) { - { 0x14, 0x90170120 }, + { 0x14, 0x90170152 }, /* Speaker Surround Playback Switch */ + { 0x19, 0x03a19020 }, /* Mic Boost Volume */ + { 0x1a, 0x03a11c30 }, /* Mic Boost Volume */ + { 0x1e, 0x90170151 }, /* Rear jack, IN OUT EAPD Detect */ + { 0x21, 0x03211420 }, { } }, - .chained = true, - .chain_id = ALC294_FIXUP_ASUS_G513_PINS, }, [ALC294_FIXUP_ASUS_COEF_1B] = { .type = HDA_FIXUP_VERBS,