Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Commit 2f65d96

Browse files
committed
hda: add virtual widgets to kill error message in kernel log
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
1 parent 918e401 commit 2f65d96

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

topology/sof-hda-generic.m4

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,17 @@ HDA_DAI_CONFIG(3, 1, iDisp1)
140140
HDA_DAI_CONFIG(4, 2, iDisp2)
141141
HDA_DAI_CONFIG(5, 3, iDisp3)
142142

143+
144+
VIRTUAL_DAPM_ROUTE_IN(codec0_in, HDA, 0, IN, 1)
145+
VIRTUAL_DAPM_ROUTE_IN(codec1_in, HDA, 1, IN, 2)
146+
VIRTUAL_DAPM_ROUTE_OUT(codec0_out, HDA, 0, OUT, 3)
147+
VIRTUAL_DAPM_ROUTE_OUT(codec1_out, HDA, 1, OUT, 4)
148+
149+
# codec2 is not supported in dai links but it exists
150+
# in dapm routes, so hack this one to HDA1
151+
VIRTUAL_DAPM_ROUTE_IN(codec2_in, HDA, 1, IN, 5)
152+
VIRTUAL_DAPM_ROUTE_OUT(codec2_out, HDA, 1, OUT, 6)
153+
154+
VIRTUAL_DAPM_ROUTE_OUT(iDisp1_out, HDA, 3, OUT, 7)
155+
VIRTUAL_DAPM_ROUTE_OUT(iDisp2_out, HDA, 4, OUT, 8)
156+
VIRTUAL_DAPM_ROUTE_OUT(iDisp3_out, HDA, 5, OUT, 9)

0 commit comments

Comments
 (0)