From a3b38152fbf19e63da796ad710c10e71fd6652da Mon Sep 17 00:00:00 2001 From: Rander Wang Date: Tue, 14 Aug 2018 16:57:46 +0800 Subject: [PATCH] topology: add some virtual widgets to topology of cnl It fixs dai link error in kernel log Signed-off-by: Rander Wang --- topology/sof-cnl-rt274.m4 | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/topology/sof-cnl-rt274.m4 b/topology/sof-cnl-rt274.m4 index 141e03be4..d40efc142 100644 --- a/topology/sof-cnl-rt274.m4 +++ b/topology/sof-cnl-rt274.m4 @@ -76,7 +76,17 @@ VIRTUAL_DAPM_ROUTE_OUT(ssp0 Tx, SSP, 0, OUT, 2) VIRTUAL_DAPM_ROUTE_OUT(Capture, SSP, 0, OUT, 3) VIRTUAL_DAPM_ROUTE_OUT(SoC DMIC, SSP, 0, OUT, 4) VIRTUAL_DAPM_ROUTE_IN(codec0_in, SSP, 0, IN, 5) -VIRTUAL_WIDGET(DMIC01 Rx, 6) -VIRTUAL_WIDGET(DMic, 7) -VIRTUAL_WIDGET(dmic01_hifi, 8) -VIRTUAL_WIDGET(ssp0 Rx, 9) +VIRTUAL_DAPM_ROUTE_OUT(ssp2_out, SSP, 0, OUT, 6) +VIRTUAL_DAPM_ROUTE_IN(ssp2_in, SSP, 0, IN, 7) +VIRTUAL_DAPM_ROUTE_OUT(ssp1_out, SSP, 0, OUT, 8) +VIRTUAL_WIDGET(DMIC01 Rx, 9) +VIRTUAL_WIDGET(DMic, 10) +VIRTUAL_WIDGET(dmic01_hifi, 11) +VIRTUAL_WIDGET(ssp0 Rx, 12) +VIRTUAL_WIDGET(ssp1_out, 13) +VIRTUAL_WIDGET(ssp2_out, 14) +VIRTUAL_WIDGET(ssp2_in, 15) +VIRTUAL_WIDGET(ssp2 Rx, 16) +VIRTUAL_WIDGET(ssp2 Tx, 17) +VIRTUAL_WIDGET(Dummy Playback, 18) +VIRTUAL_WIDGET(Dummy Capture, 19)