From aa3db8e5bb62ea0db0fa25696f0d0e3ba2b005da Mon Sep 17 00:00:00 2001 From: Jun Lin Date: Tue, 1 Jul 2025 13:52:16 +0800 Subject: [PATCH] mgmt: ec_host_cmd: backend: shi_npcx: fix log message This commit fixes the content of the log messages that appear when an error occurs while applying the pinctrl. Signed-off-by: Jun Lin --- .../mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_npcx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_npcx.c b/subsys/mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_npcx.c index 12b02a7d652..796c9a30ce2 100644 --- a/subsys/mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_npcx.c +++ b/subsys/mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_npcx.c @@ -846,7 +846,7 @@ static int shi_npcx_enable(const struct device *dev) /* Configure pin control for SHI */ ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); if (ret < 0) { - LOG_ERR("shi_npcx pinctrl setup failed (%d)", ret); + LOG_ERR("Pinctrl apply DEFAULT fail (%d)", ret); return ret; } @@ -877,7 +877,7 @@ static int shi_npcx_disable(const struct device *dev) /* Configure pin control back to GPIO */ ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP); if (ret < 0) { - LOG_ERR("KB Raw pinctrl setup failed (%d)", ret); + LOG_ERR("Pinctrl apply SLEEP fail (%d)", ret); return ret; }