[Sound-open-firmware] [PATCH] topology: m4: add default_hw_conf_id

Xiuli Pan xiuli.pan at linux.intel.com
Mon Feb 12 07:13:30 CET 2018


From: Pan Xiuli <xiuli.pan at linux.intel.com>

Add default_hw_conf_id to set the default_hw_config_id value in
ASOC and then we can set the dai config.

Signed-off-by: Pan Xiuli <xiuli.pan at linux.intel.com>

---
Test with:
Mininow max rt5651
SOF master: 019637ab250daa53c15da0a0a98c54f1c58d8ca3
SOF-Tool master: 33e4b0cc6f6a44e3e7ee849c04c515a5537242c7
https://github.com/plbossart/sound/tree/topic/sof-v4.14:
6fa721a8b7c6567eea0a2181bf9a3d2a12c31b00

Should work with ASOC patch:
ASOC: topology: Fix hw_config setting for DAI
---
 topology/m4/local.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/topology/m4/local.m4 b/topology/m4/local.m4
index ad72a11..bb4a183 100644
--- a/topology/m4/local.m4
+++ b/topology/m4/local.m4
@@ -453,6 +453,7 @@ define(`DAI_CONFIG',
 `'
 `SectionBE."'$3`" {'
 `	index "0"'
+`	default_hw_conf_id	"'$2`"'
 `'
 `	hw_configs ['
 `		"'$1$2`"'
-- 
2.7.4



More information about the Sound-open-firmware mailing list