summaryrefslogtreecommitdiff
path: root/board/garg/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/garg/board.c')
-rw-r--r--board/garg/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/garg/board.c b/board/garg/board.c
index 937e8c2d31..44cc3b3759 100644
--- a/board/garg/board.c
+++ b/board/garg/board.c
@@ -288,7 +288,7 @@ void lid_angle_peripheral_enable(int enable)
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;