Skip to content

Commit 00f64b4

Browse files
oortcometbardliao
authored andcommitted
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>
1 parent feac9ec commit 00f64b4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,6 +1596,7 @@ int asoc_sdw_get_dai_type(u32 type)
15961596
switch (type) {
15971597
case SDCA_FUNCTION_TYPE_SMART_AMP:
15981598
case SDCA_FUNCTION_TYPE_SIMPLE_AMP:
1599+
case SDCA_FUNCTION_TYPE_COMPANION_AMP:
15991600
return SOC_SDW_DAI_TYPE_AMP;
16001601
case SDCA_FUNCTION_TYPE_SMART_MIC:
16011602
case SDCA_FUNCTION_TYPE_SIMPLE_MIC:

0 commit comments

Comments
 (0)