Skip to content

Commit aa3db8e

Browse files
ChiHuaLdanieldegrasse
authored andcommitted
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 <[email protected]>
1 parent d732a51 commit aa3db8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_npcx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ static int shi_npcx_enable(const struct device *dev)
846846
/* Configure pin control for SHI */
847847
ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT);
848848
if (ret < 0) {
849-
LOG_ERR("shi_npcx pinctrl setup failed (%d)", ret);
849+
LOG_ERR("Pinctrl apply DEFAULT fail (%d)", ret);
850850
return ret;
851851
}
852852

@@ -877,7 +877,7 @@ static int shi_npcx_disable(const struct device *dev)
877877
/* Configure pin control back to GPIO */
878878
ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP);
879879
if (ret < 0) {
880-
LOG_ERR("KB Raw pinctrl setup failed (%d)", ret);
880+
LOG_ERR("Pinctrl apply SLEEP fail (%d)", ret);
881881
return ret;
882882
}
883883

0 commit comments

Comments
 (0)