Skip to content

Commit 6e4faef

Browse files
keyonjielgirdwood
authored andcommitted
topology: keyword-detect: change to use DMIC FIFO B
We need use FIFO B for keyword detect DMIC, here change it. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
1 parent 0d0bb9f commit 6e4faef

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tools/topology/sof-apl-keyword-detect.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ dnl frames, deadline, priority, core)
5353
# capture DAI is DMIC 0 using 2 periods
5454
# Buffers use s16le format, with 320 frame per 1000us on core 0 with priority 0
5555
DAI_ADD(sof/pipe-dai-capture.m4,
56-
1, DMIC, 0, NoCodec-6,
56+
1, DMIC, 1, NoCodec-6,
5757
PIPELINE_SINK_1, 2, s16le,
5858
KWD_PERIOD_FRAMES,
5959
KWD_PIPE_SCH_DEADLINE_US,
@@ -84,14 +84,14 @@ SectionGraph."pipe-sof-apl-keyword-detect" {
8484
#
8585

8686
dnl DAI_CONFIG(type, dai_index, link_id, name, ssp_config/dmic_config)
87-
DAI_CONFIG(DMIC, 0, 6, NoCodec-6,
87+
DAI_CONFIG(DMIC, 1, 6, NoCodec-6,
8888
dnl DMIC_CONFIG(driver_version, clk_min, clk_mac, duty_min, duty_max,
8989
dnl sample_rate,
9090
dnl fifo word length, type, dai_index, pdm controller config)
9191
DMIC_CONFIG(1, 500000, 4800000, 40, 60, 16000,
9292
dnl DMIC_WORD_LENGTH(frame_format)
93-
DMIC_WORD_LENGTH(s16le), DMIC, 0,
93+
DMIC_WORD_LENGTH(s16le), DMIC, 1,
9494
dnl PDM_CONFIG(type, dai_index, num pdm active, pdm tuples list)
9595
dnl STEREO_PDM0 is a pre-defined pdm config for stereo capture
96-
PDM_CONFIG(DMIC, 0, STEREO_PDM0)))
96+
PDM_CONFIG(DMIC, 1, STEREO_PDM0)))
9797

0 commit comments

Comments
 (0)