mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 18:42:55 +00:00
47 lines
1.8 KiB
Diff
47 lines
1.8 KiB
Diff
From 3a81a58074505e2d2f3981951ba0b084544f2ec5 Mon Sep 17 00:00:00 2001
|
|
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
|
|
Date: Fri, 5 Aug 2022 15:33:32 +0200
|
|
Subject: [PATCH 422/424] ASoC: Intel: fix sof_es8336 probe
|
|
|
|
Changes to add HDMI capture support broke the machine driver probe for
|
|
all other platforms. The commit listed in the Fixes tag added a
|
|
board_id descriptor but didn't add the default name for the
|
|
sof_essx8336 machine driver.
|
|
|
|
Add the missing entry and remove the now-useless platform driver
|
|
alias.
|
|
|
|
Reported-by: Eugene J Markow <ejmarkow@yahoo.com>
|
|
BugLink: https://github.com/thesofproject/linux/issues/3336
|
|
Fixes: 86b1959a2ccb ("ASoC: Intel: sof_es8336: add support for HDMI_In capture")
|
|
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
|
|
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
|
|
Link: https://lore.kernel.org/r/20220805133332.207932-1-pierre-louis.bossart@linux.intel.com
|
|
Signed-off-by: Mark Brown <broonie@kernel.org>
|
|
---
|
|
sound/soc/intel/boards/sof_es8336.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
|
|
index f2beee1a7..fd43fd773 100644
|
|
--- a/sound/soc/intel/boards/sof_es8336.c
|
|
+++ b/sound/soc/intel/boards/sof_es8336.c
|
|
@@ -759,6 +759,9 @@ static int sof_es8336_remove(struct platform_device *pdev)
|
|
}
|
|
|
|
static const struct platform_device_id board_ids[] = {
|
|
+ {
|
|
+ .name = "sof-essx8336", /* default quirk == 0 */
|
|
+ },
|
|
{
|
|
.name = "adl_es83x6_c1_h02",
|
|
.driver_data = (kernel_ulong_t)(SOF_ES8336_SSP_CODEC(1) |
|
|
@@ -786,5 +789,4 @@ module_platform_driver(sof_es8336_driver);
|
|
|
|
MODULE_DESCRIPTION("ASoC Intel(R) SOF + ES8336 Machine driver");
|
|
MODULE_LICENSE("GPL");
|
|
-MODULE_ALIAS("platform:sof-essx8336");
|
|
MODULE_IMPORT_NS(SND_SOC_INTEL_HDA_DSP_COMMON);
|
|
--
|
|
2.35.2
|
|
|