From 1c19d435649c8abdf64063ebdcd66568848ac821 Mon Sep 17 00:00:00 2001 From: Glenn Andrews Date: Thu, 4 Jul 2024 16:23:09 -0700 Subject: [PATCH] Driver: i2c_ll_stm32_v2: Remove log msg on boot Converts the ` i2c_ll_stm32_v2: I2C TIMING` message displayed by the driver to a LOG_DBG. Also makes an actual error message a LOG_ERR instead of a LOG_DBG. Signed-off-by: Glenn Andrews --- drivers/i2c/i2c_ll_stm32_v2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/i2c_ll_stm32_v2.c b/drivers/i2c/i2c_ll_stm32_v2.c index e67ae28bbf9..2b96a89725c 100644 --- a/drivers/i2c/i2c_ll_stm32_v2.c +++ b/drivers/i2c/i2c_ll_stm32_v2.c @@ -1115,11 +1115,11 @@ int stm32_i2c_configure_timing(const struct device *dev, uint32_t clock) } while (presc < 16); if (presc >= 16U) { - LOG_DBG("I2C:failed to find prescaler value"); + LOG_ERR("I2C:failed to find prescaler value"); return -EINVAL; } - LOG_INF("I2C TIMING = 0x%x", timing); + LOG_DBG("I2C TIMING = 0x%x", timing); LL_I2C_SetTiming(i2c, timing); return 0;