summaryrefslogtreecommitdiff
path: root/board/jinlon
diff options
context:
space:
mode:
Diffstat (limited to 'board/jinlon')
-rw-r--r--board/jinlon/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/jinlon/board.c b/board/jinlon/board.c
index e2b14b5c5e..f789b15590 100644
--- a/board/jinlon/board.c
+++ b/board/jinlon/board.c
@@ -467,7 +467,7 @@ DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
void board_overcurrent_event(int port, int is_overcurrented)
{
- /* Sanity check the port. */
+ /* Check that port number is valid. */
if ((port < 0) || (port >= CONFIG_USB_PD_PORT_MAX_COUNT))
return;