From 7c214b83b7f3a92c7a7784a7872d61007e5fa3f1 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Thu, 26 Jul 2018 16:01:00 -0500 Subject: [PATCH] topology: Fix SectionPCM macros PR43 and commit dc10876c20a5 ('topology: changes to SectionPCM macros') went a bit too far and removed a much-needed alignment between pcm id and dummy dai id. Tested on APL/Reef Chromebook Signed-off-by: Pierre-Louis Bossart --- topology/m4/pcm.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/topology/m4/pcm.m4 b/topology/m4/pcm.m4 index 28bcb8f..f8b4ee6 100644 --- a/topology/m4/pcm.m4 +++ b/topology/m4/pcm.m4 @@ -79,6 +79,7 @@ define(`PCM_PLAYBACK_ADD', ` id STR($2)' `' ` dai.STR($1 $2) {' +` id STR($2)' ` }' `' ` pcm."playback" {' @@ -95,6 +96,7 @@ define(`PCM_CAPTURE_ADD', ` id STR($2)' `' ` dai.STR($1 $2) {' +` id STR($2)' ` }' `' ` pcm."capture" {' @@ -111,6 +113,7 @@ define(`PCM_DUPLEX_ADD', ` id STR($2)' `' ` dai.STR($1 $2) {' +` id STR($2)' ` }' `' ` pcm."capture" {'