[Sound-open-firmware] [PATCH] topology: AIF directions are codec centric wrt PCMs

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed Dec 13 22:10:46 CET 2017


Commit 0a1a9bbc492e4eb22173ed57c7f5499c8f106289 discovered a bug in
the direction of AIF widgets in relation to PCMs. AIF widgets are codec
centric in ASoC so topology must align.

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 topology/m4/local.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/topology/m4/local.m4 b/topology/m4/local.m4
index 08425ed..c0ffef2 100644
--- a/topology/m4/local.m4
+++ b/topology/m4/local.m4
@@ -96,7 +96,7 @@ define(`W_PCM_PLAYBACK',
 `}'
 `SectionWidget."'N_PCMP`" {'
 `	index "'PIPELINE_ID`"'
-`	type "aif_out"'
+`	type "aif_in"'
 `	no_pm "true"'
 `	stream_name "'$1`"'
 `	data ['
@@ -131,7 +131,7 @@ define(`W_PCM_CAPTURE',
 `}'
 `SectionWidget."'N_PCMC`" {'
 `	index "'PIPELINE_ID`"'
-`	type "aif_in"'
+`	type "aif_out"'
 `	no_pm "true"'
 `	stream_name "'$1`"'
 `	data ['
-- 
2.14.1



More information about the Sound-open-firmware mailing list