Unverified Commit 56d5a9ea authored by Derek Fang's avatar Derek Fang Committed by Mark Brown
Browse files

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: default avatarDerek Fang <derek.fang@realtek.com>
Reviewed-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20260430121043.552241-1-yung-chuan.liao@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d63c219b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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: