diff options
-rw-r--r-- | board/storo/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/storo/board.c b/board/storo/board.c index ab920e0592..4981bedc8e 100644 --- a/board/storo/board.c +++ b/board/storo/board.c @@ -461,6 +461,10 @@ int board_set_active_charge_port(int port) old_port = charge_manager_get_active_charge_port(); + /* If the port is not changing, we should do nothing */ + if (old_port == port) + return EC_SUCCESS; + CPRINTS("New chg p%d", port); /* Disable all ports. */ |