diff --git a/tools/topology/topology2/cavs/cavs-mixin-mixout-hda.conf b/tools/topology/topology2/cavs/cavs-mixin-mixout-hda.conf index 0f6b2c376..fb3772d55 100644 --- a/tools/topology/topology2/cavs/cavs-mixin-mixout-hda.conf +++ b/tools/topology/topology2/cavs/cavs-mixin-mixout-hda.conf @@ -1,11 +1,12 @@ Define { ANALOG_PLAYBACK_PCM 'Analog Playback' ANALOG_CAPTURE_PCM 'Analog Capture' + HDA_ANALOG_DAI_NAME 'Analog Playback and Capture' } Object.Dai { HDA.0 { - name 'Analog Playback and Capture' + name $HDA_ANALOG_DAI_NAME id 4 default_hw_conf_id 4 Object.Base.hw_config.HDA0 {} @@ -17,7 +18,7 @@ Object.Pipeline { index 2 Object.Widget.copier.1 { - stream_name 'Analog Playback and Capture' + stream_name $HDA_ANALOG_DAI_NAME dai_type "HDA" copier_type "HDA" } @@ -66,7 +67,7 @@ Object.Pipeline { index 4 Object.Widget.copier.1 { - stream_name 'Analog Playback and Capture' + stream_name $HDA_ANALOG_DAI_NAME dai_type "HDA" copier_type "HDA" }