Skip to content

Commit 5e74544

Browse files
andrew-mtkkv2019i
authored andcommitted
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 b4cccad commit 5e74544

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

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)