From patchwork Mon Oct 24 11:26:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9701 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp544527wru; Mon, 24 Oct 2022 09:32:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Dr5dvqlgIOK2h6g+/cdShsEdN/t/9FQYfo8ZpIkY+VRN5UujxmgCQBuX1xoY4s/bgt0OJ X-Received: by 2002:a05:6402:2402:b0:45c:a1ce:94d8 with SMTP id t2-20020a056402240200b0045ca1ce94d8mr30657995eda.50.1666629134238; Mon, 24 Oct 2022 09:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666629134; cv=none; d=google.com; s=arc-20160816; b=ws5megnhtDHJLB0RucM8SlOIcVP+SHkmI5fb36XVnRb07mAe4E5PvdYkah1DZc2FiF 9AUwNfiA5ImdAE5T7PWgR4PRWKF9q/BN9IdX/ZWeswyoSl2pmspfu5kzI8UWgFXWqyam xV2motfAEF9vg78uDX3yRhvLbbm3UwG787a70qz0N+D/5Y25N7B4TX3Qju424P2etcDP 16GYqRAYYFmba2GOlDVMp6Vxpcz4asR040l4hX+I+hnC2Ae/9NHtifz9lm/+l5MBpCa7 k95Av4C3vR9Z4SPNlTT0Pcz7SyOGot+w8kYdRx9VZE1LJIrdLIxW4dxc7wZF/smPiBQ6 n9GQ== 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=YZ2af+C9R2joNuFIL1fBqwGPoJZpy8V10R0kK3uQk2U=; b=upMXoNobUaJnOTsIyP3DjqHFiZ/Mk1tEaE2hL/ulI5YCEF6duSeUHYOGhFf+JE0N/4 j3yA4MYjuzFvPh3zXrOIpMT0jK+/7Oet4gBbG63N6HSDLsUrHaukSwkk1OsBSqo6+ezd hAhLQXyfES/5tjnNXG5qvv9nqwFkokr3ionoW4eAOwl7mes33YXwK72QkUdyrHptHlRo XxsMJXJf5jKOwzb+3w5NZlOC3TgHwZPjrihDvjvTkVY27REWmmJnmCNY5faeHFNy4eQk 2RbesZNE6uTWPsmpD+QEiu/XfAxZR06KACMXhSv5kfUghIED1Tm68eV0E78L3O50Bt7K zHDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gAbDdcYO; 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 nc41-20020a1709071c2900b0078e319dcca7si137625ejc.744.2022.10.24.09.31.49; Mon, 24 Oct 2022 09:32:14 -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=gAbDdcYO; 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 S234259AbiJXQRf (ORCPT + 99 others); Mon, 24 Oct 2022 12:17:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234956AbiJXQPe (ORCPT ); Mon, 24 Oct 2022 12:15:34 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BA0760EB8; Mon, 24 Oct 2022 08:03:20 -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 3469FB8136A; Mon, 24 Oct 2022 12:16:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 869B5C433C1; Mon, 24 Oct 2022 12:16:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666613799; bh=ON42auNoq/6lXJFVhSsIvjJPz13Pw5e0sfxqq8I3Rtc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gAbDdcYOlCWMFG5Ig1LUCT5EjdImwIqQgxsW+EI76ZE2icHUPeSlJPFnhpZOXJG6a 4HjVhobZOigYDjagHWST2A1zFQokhohm8pOAL6bUXKdLaDIoazqCKW1wZVp/KyvXrt B3rtO1ZKDd3fFqclL1tO5QE1lvjEeKHjURXfXYLU= 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.10 006/390] ALSA: hda/realtek: Correct pin configs for ASUS G533Z Date: Mon, 24 Oct 2022 13:26:43 +0200 Message-Id: <20221024113022.813671515@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113022.510008560@linuxfoundation.org> References: <20221024113022.510008560@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 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?1747587311023068392?= X-GMAIL-MSGID: =?utf-8?q?1747587311023068392?= 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 @@ -8164,11 +8164,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,