Skip to content

Commit 817c3a2

Browse files
committed
boards: mtk: Fix "dai_common_copy(): nothing to copy" warning
Override CONFIG_SYS_CLOCK_TICKS_PER_SEC project default setting so 1 millisecond is exactly represented by an integral number of ticks. This fixes warning: <wrn> dai_comp: comp:1.2 dai_common_copy(): nothing to copy Signed-off-by: Andrew Perepech <andrew.perepech@mediatek.com>
1 parent e82b06a commit 817c3a2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

app/boards/mt8188_mt8188_adsp.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
# Board-level config goes in Zephyr (and ideally in DTS). App-level
55
# config goes in prj.conf.
66
CONFIG_MTK=y
7+
8+
# Override project default setting so 1 millisecond is exactly
9+
# represented by an integral number of ticks.
10+
CONFIG_SYS_CLOCK_TICKS_PER_SEC=13000

app/boards/mt8195_mt8195_adsp.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
# Board-level config goes in Zephyr (and ideally in DTS). App-level
55
# config goes in prj.conf.
66
CONFIG_MTK=y
7+
8+
# Override project default setting so 1 millisecond is exactly
9+
# represented by an integral number of ticks.
10+
CONFIG_SYS_CLOCK_TICKS_PER_SEC=13000

0 commit comments

Comments
 (0)