diff --git a/case-lib/pipeline.sh b/case-lib/pipeline.sh index b7b11e1c4..424d87355 100644 --- a/case-lib/pipeline.sh +++ b/case-lib/pipeline.sh @@ -2,6 +2,15 @@ func_pipeline_export() { + # For legacy HDA platform, there is no topology, we have to exporting pipeline + # information from proc file system. + is_sof_used || { + dlogi "No SOF sound card found, exporting pipeline parameters from proc file system" + source <(sof-dump-status.py -e) || + die "Failed to export pipeline parameters from proc file system" + return 0 + } + # no parameter input the function if [ $# -lt 1 ]; then die "Topology file name is not specified, unable to run command: $SCRIPT_NAME"