summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Fang <derek.fang@realtek.com>2026-04-30 20:10:43 +0800
committerMark Brown <broonie@kernel.org>2026-05-04 22:06:07 +0900
commit56d5a9eaf60af5c824a33a83e1468aa143627a62 (patch)
tree8299048645d34d35b8a8fceb84119e5fc55eea6b
parentd63c219b7ff39f897da10c160a2edef76320f16c (diff)
ASoC: sdw_utils: avoid the SDCA companion function not supported failure
Treat the companion amp as generic AMP until full support for companion amp is added. Signed-off-by: Derek Fang <derek.fang@realtek.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20260430121043.552241-1-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/sdw_utils/soc_sdw_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sdw_utils/soc_sdw_utils.c b/sound/soc/sdw_utils/soc_sdw_utils.c
index 1637cc3f3d59..849ae876d7a4 100644
--- a/sound/soc/sdw_utils/soc_sdw_utils.c
+++ b/sound/soc/sdw_utils/soc_sdw_utils.c
@@ -1608,6 +1608,7 @@ int asoc_sdw_get_dai_type(u32 type)
switch (type) {
case SDCA_FUNCTION_TYPE_SMART_AMP:
case SDCA_FUNCTION_TYPE_SIMPLE_AMP:
+ case SDCA_FUNCTION_TYPE_COMPANION_AMP:
return SOC_SDW_DAI_TYPE_AMP;
case SDCA_FUNCTION_TYPE_SMART_MIC:
case SDCA_FUNCTION_TYPE_SIMPLE_MIC: