From 508676ca118f77e54fc38973e5d2aba2869f3133 Mon Sep 17 00:00:00 2001 From: Tom Burdick Date: Fri, 9 May 2025 11:47:23 -0500 Subject: [PATCH] i2c: Use I2C log level for lpi2c rtio Driver simply registered itself without setting the level based on the I2C Kconfig which wasn't quite right, need the log level set based on the Kconfig for I2C. Signed-off-by: Tom Burdick --- drivers/i2c/i2c_mcux_lpi2c_rtio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c_mcux_lpi2c_rtio.c b/drivers/i2c/i2c_mcux_lpi2c_rtio.c index a4ac9a2f20c..2554273ea9c 100644 --- a/drivers/i2c/i2c_mcux_lpi2c_rtio.c +++ b/drivers/i2c/i2c_mcux_lpi2c_rtio.c @@ -28,7 +28,7 @@ #endif /* CONFIG_I2C_MCUX_LPI2C_BUS_RECOVERY */ #include -LOG_MODULE_REGISTER(mcux_lpi2c); +LOG_MODULE_REGISTER(mcux_lpi2c, CONFIG_I2C_LOG_LEVEL); #include "i2c-priv.h" /* Wait for the duration of 12 bits to detect a NAK after a bus