From fb07f450d78803404e37c30dca3247f54b2d762b Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Thu, 29 Sep 2022 23:20:28 +0300 Subject: [PATCH] ipc4: dai: reduce get_llp_reg_info log verbosity The "get_llp_reg_info(): gpdma id 32 out of array bounds." message is hit constantly with current mainline topologies with no apparent impact to functinality. The log is printed at a very high rate, which causes CPU and SRAM traffic pressure that affects test execution. Signed-off-by: Kai Vehmanen --- src/ipc/ipc4/dai.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ipc/ipc4/dai.c b/src/ipc/ipc4/dai.c index 62f8b27f3..cb35a5bc9 100644 --- a/src/ipc/ipc4/dai.c +++ b/src/ipc/ipc4/dai.c @@ -171,7 +171,7 @@ static void get_llp_reg_info(struct comp_dev *dev, uint32_t *node_id, uint32_t * *offset = offsetof(struct ipc4_fw_registers, llp_sndw_reading_slots); *offset += id * sizeof(struct ipc4_llp_reading_slot); } else { - comp_err(dev, "get_llp_reg_info(): sndw id %u out of array bounds.", id); + comp_dbg(dev, "get_llp_reg_info(): sndw id %u out of array bounds.", id); *node_id = 0; } @@ -181,7 +181,7 @@ static void get_llp_reg_info(struct comp_dev *dev, uint32_t *node_id, uint32_t * *offset = offsetof(struct ipc4_fw_registers, llp_gpdma_reading_slots); *offset += id * sizeof(struct ipc4_llp_reading_slot); } else { - comp_err(dev, "get_llp_reg_info(): gpdma id %u out of array bounds.", id); + comp_dbg(dev, "get_llp_reg_info(): gpdma id %u out of array bounds.", id); *node_id = 0; }