Skip to content

Commit da5f53b

Browse files
committed
ASoC: sdw_utils: avoid the SDCA companion function not supported failure
Since the SDCA companion function is not fully supported, it is temporarily treated as a general amp type. Signed-off-by: Derek Fang <derek.fang@realtek.com>
1 parent 903cbf5 commit da5f53b

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
@@ -1500,6 +1500,7 @@ int asoc_sdw_get_dai_type(u32 type)
15001500
switch (type) {
15011501
case SDCA_FUNCTION_TYPE_SMART_AMP:
15021502
case SDCA_FUNCTION_TYPE_SIMPLE_AMP:
1503+
case SDCA_FUNCTION_TYPE_COMPANION_AMP:
15031504
return SOC_SDW_DAI_TYPE_AMP;
15041505
case SDCA_FUNCTION_TYPE_SMART_MIC:
15051506
case SDCA_FUNCTION_TYPE_SIMPLE_MIC:

0 commit comments

Comments
 (0)