Driver: i2c_ll_stm32_v2: Remove log msg on boot

Converts the `<inf> 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 <glenn.andrews.42@gmail.com>
This commit is contained in:
Glenn Andrews 2024-07-04 16:23:09 -07:00 committed by Anas Nashif
parent 65f63622e2
commit 1c19d43564

View file

@ -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;