From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5CB3C433F5 for ; Tue, 26 Apr 2022 19:02:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353489AbiDZTFP (ORCPT ); Tue, 26 Apr 2022 15:05:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350456AbiDZTFE (ORCPT ); Tue, 26 Apr 2022 15:05:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10CE41597AB; Tue, 26 Apr 2022 12:01:53 -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 86482B82250; Tue, 26 Apr 2022 19:01:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D7E5C385A0; Tue, 26 Apr 2022 19:01:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650999711; bh=xtg5HxQLcrFUu/kx+UNr01sQ7UEWL3iVhKIKNYCJMaE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=okf88kvoF4C2XfvQIHj+QI1NXemsis2xF9bgrLhDdsj6m9PTlEIz1txs8nGmCv5Ou onZ0kbhhvSeNIBeyXRNEKlQ+oUWaXVpGBmhCC6iVUJeqAQDciI7a6q+IaPmuam5OxA ZfK5g8Cs8GdNSM2qiweBNf2I9Ab3qZ4f1zb5p9a0DMqyuXCsQklaiZ3OhySMHuVFmd YL5nWnARFYFqy4M7WVobpfJNoS4RQVyNTbkUmh4y3eYndd7P+7xGMY3pGLlfjon+Lw bqFjWqlD3YxSHyHigppqgsBE0VVNCBszN+klbUjBc3L5IbQIfAbpskxLTreCh7m4xt BrZFEUDI3hRGw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Chao Song , Pierre-Louis Bossart , Mark Brown , Sasha Levin , cezary.rojewski@intel.com, liam.r.girdwood@linux.intel.com, yang.jie@linux.intel.com, perex@perex.cz, tiwai@suse.com, yung-chuan.liao@linux.intel.com, rander.wang@intel.com, peter.ujfalusi@linux.intel.com, brent.lu@intel.com, gongjun.song@intel.com, balamurugan.c@intel.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.17 04/22] ASoC: Intel: soc-acpi: correct device endpoints for max98373 Date: Tue, 26 Apr 2022 15:01:27 -0400 Message-Id: <20220426190145.2351135-4-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220426190145.2351135-1-sashal@kernel.org> References: <20220426190145.2351135-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chao Song [ Upstream commit 97326be14df7bacc6ba5c62c0556298c27ea0432 ] The left speaker of max98373 uses spk_r_endpoint, and right speaker uses spk_l_endpoint, this is obviously wrong. This patch corrects the endpoints for max98373 codec. Signed-off-by: Chao Song Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20220406192341.271465-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/common/soc-acpi-intel-tgl-match.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/intel/common/soc-acpi-intel-tgl-match.c b/sound/soc/intel/common/soc-acpi-intel-tgl-match.c index e2658bca6931..3137cea78d48 100644 --- a/sound/soc/intel/common/soc-acpi-intel-tgl-match.c +++ b/sound/soc/intel/common/soc-acpi-intel-tgl-match.c @@ -132,13 +132,13 @@ static const struct snd_soc_acpi_adr_device mx8373_1_adr[] = { { .adr = 0x000123019F837300ull, .num_endpoints = 1, - .endpoints = &spk_l_endpoint, + .endpoints = &spk_r_endpoint, .name_prefix = "Right" }, { .adr = 0x000127019F837300ull, .num_endpoints = 1, - .endpoints = &spk_r_endpoint, + .endpoints = &spk_l_endpoint, .name_prefix = "Left" } }; -- 2.35.1