提交 868ad039 编写于 作者: C Chao Song 提交者: Zheng Zengkai

ASoC: Intel: soc-acpi: correct device endpoints for max98373

stable inclusion
from stable-v5.10.114
commit 1b1747ad7e88630d5c1bf742332366683e746048
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5IY1V

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1b1747ad7e88630d5c1bf742332366683e746048

--------------------------------

[ Upstream commit 97326be1 ]

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: NChao Song <chao.song@linux.intel.com>
Signed-off-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220406192341.271465-1-pierre-louis.bossart@linux.intel.comSigned-off-by: NMark Brown <broonie@kernel.org>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 9f5daeaa
...@@ -126,13 +126,13 @@ static const struct snd_soc_acpi_adr_device mx8373_1_adr[] = { ...@@ -126,13 +126,13 @@ static const struct snd_soc_acpi_adr_device mx8373_1_adr[] = {
{ {
.adr = 0x000123019F837300, .adr = 0x000123019F837300,
.num_endpoints = 1, .num_endpoints = 1,
.endpoints = &spk_l_endpoint, .endpoints = &spk_r_endpoint,
.name_prefix = "Right" .name_prefix = "Right"
}, },
{ {
.adr = 0x000127019F837300, .adr = 0x000127019F837300,
.num_endpoints = 1, .num_endpoints = 1,
.endpoints = &spk_r_endpoint, .endpoints = &spk_l_endpoint,
.name_prefix = "Left" .name_prefix = "Left"
} }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册