Skip to content

Commit fb801c8

Browse files
committed
topology: fix playback & capture pipelines to be timer driven
This patch fixes two SSP pipelines to be scheduled in timer domain. Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
1 parent e083bc0 commit fb801c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/topology/sof-tgl-max98357a-rt5682.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ dnl frames, deadline, priority, core)
154154
DAI_ADD(sof/pipe-dai-playback.m4,
155155
1, SSP, 1, SSP1-Codec,
156156
PIPELINE_SOURCE_1, 2, s16le,
157-
1000, 0, 0)
157+
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
158158

159159
# currently this dai is here as "virtual" capture backend
160160
W_DAI_IN(SSP, 1, SSP1-Codec, s16le, 3, 0)
@@ -192,14 +192,14 @@ SectionGraph."PIPE_CAP_VIRT" {
192192
DAI_ADD(sof/pipe-dai-playback.m4,
193193
2, SSP, 0, SSP0-Codec,
194194
PIPELINE_SOURCE_2, 2, s24le,
195-
1000, 0, 0)
195+
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
196196

197197
# capture DAI is SSP0 using 2 periods
198198
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
199199
DAI_ADD(sof/pipe-dai-capture.m4,
200200
3, SSP, 0, SSP0-Codec,
201201
PIPELINE_SINK_3, 2, s24le,
202-
1000, 0, 0)
202+
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
203203

204204
# playback DAI is iDisp1 using 2 periods
205205
# Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0

0 commit comments

Comments
 (0)