From: Pan Xiuli <xiuli.pan@linux.intel.com> mixer with kcontrol need the path name match the kcontrol name. Add the macro to include the kcontrol in the dapm route Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com> --- topology/m4/utils.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/topology/m4/utils.m4 b/topology/m4/utils.m4 index 73faae6..3af586a 100644 --- a/topology/m4/utils.m4 +++ b/topology/m4/utils.m4 @@ -26,6 +26,10 @@ define(`MEMCAPS', `pushdef(`i', $#) pushdef(`j', `1') SUM_LOOP($@)') dnl create direct DAPM/pipeline link between 2 widgets) define(`dapm', `"$1, , $2"') +dnl create DAPM/pipeline link between 2 widgets with kcontrol) +define(`kdapm', `"$1, $2, $3"') + + dnl COMP_SAMPLE_SIZE(FMT) define(`COMP_SAMPLE_SIZE', `ifelse( -- 2.7.4