mirror of https://github.com/thesofproject/sof.git
topology: utils: remove DAPM routes for virtual widgets
Remove the addition of DAPM routes for virtual widgets. These are not needed for suppressing errors with legacy machine drivers. Just adding the virtual widget is enough. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
d5d2b41c63
commit
86c9a037e2
|
@ -101,33 +101,21 @@ define(`W_DATA',
|
|||
`}')
|
||||
|
||||
dnl VIRTUAL_DAPM_ROUTE_OUT(name, dai type, dai index, direction, index)
|
||||
dnl No routes needed. Macro retained for simplicity
|
||||
define(`VIRTUAL_DAPM_ROUTE_OUT',
|
||||
`SectionWidget.STR($1) {'
|
||||
` index STR($5)'
|
||||
` type "output"'
|
||||
` no_pm "true"'
|
||||
`}'
|
||||
`SectionGraph.STR($2) {'
|
||||
` index STR($5)'
|
||||
`'
|
||||
` lines ['
|
||||
` dapm($1,$2$3.$4)'
|
||||
` ]'
|
||||
`}')
|
||||
|
||||
dnl VIRTUAL_DAPM_ROUTE_IN(name, dai type, dai index, direction, index)
|
||||
dnl No routes needed. Macro retained for simplicity
|
||||
define(`VIRTUAL_DAPM_ROUTE_IN',
|
||||
`SectionWidget.STR($1) {'
|
||||
` index STR($5)'
|
||||
` type "input"'
|
||||
` no_pm "true"'
|
||||
`}'
|
||||
`SectionGraph.STR($2) {'
|
||||
` index STR($5)'
|
||||
`'
|
||||
` lines ['
|
||||
` dapm($2$3.$4, $1)'
|
||||
` ]'
|
||||
`}')
|
||||
|
||||
dnl VIRTUAL_WIDGET(name, type, index)
|
||||
|
|
Loading…
Reference in New Issue