From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C16063BB for ; Mon, 20 Feb 2023 14:00:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6E63C433EF; Mon, 20 Feb 2023 14:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1676901658; bh=vDQGLnUGf1LBSqRv6hzpBlNdY5vpe9myPnF0O6dcjZw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fQGYxp7wwOAQH83irmFq+l8JUwjBmlC+SRDtwWJjwG2DUd9ACsEaAJOvzWVU63pl6 5ZtN7ItAkk9oCAnmWDwHFLHNAwTDf0iuP9HyYKZ6+wtjgQwSmvckBcdeGN2qP0msQi Q57djJ03mGM8vZ6ewCJ0hGrW7JPuWW3g7J+L44kw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Kailang Yang , Takashi Iwai Subject: [PATCH 6.1 061/118] ALSA: hda/realtek - fixed wrong gpio assigned Date: Mon, 20 Feb 2023 14:36:17 +0100 Message-Id: <20230220133602.872337460@linuxfoundation.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230220133600.368809650@linuxfoundation.org> References: <20230220133600.368809650@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Kailang Yang commit 2bdccfd290d421b50df4ec6a68d832dad1310748 upstream. GPIO2 PIN use for output. Mask Dir and Data need to assign for 0x4. Not 0x3. This fixed was for Lenovo Desktop(0x17aa1056). GPIO2 use for AMP enable. Signed-off-by: Kailang Yang Cc: Link: https://lore.kernel.org/r/8d02bb9ac8134f878cd08607fdf088fd@realtek.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -832,7 +832,7 @@ do_sku: alc_setup_gpio(codec, 0x02); break; case 7: - alc_setup_gpio(codec, 0x03); + alc_setup_gpio(codec, 0x04); break; case 5: default: