summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver/touchpad_st.c2
-rw-r--r--include/usb_dp_alt_mode.h4
-rw-r--r--include/usb_mode.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/driver/touchpad_st.c b/driver/touchpad_st.c
index c5211dcead..a77ee2590f 100644
--- a/driver/touchpad_st.c
+++ b/driver/touchpad_st.c
@@ -742,7 +742,7 @@ static void st_tp_handle_status_report(struct st_tp_event_t *e)
*
* When there are error events, suggested action will be saved in `tp_control`.
*
- * @param show_error: weather EC should read and dump error or not.
+ * @param show_error: whether EC should read and dump error or not.
* ***If this is true, rx_buf.events[] will be cleared.***
*
* @return number of events available
diff --git a/include/usb_dp_alt_mode.h b/include/usb_dp_alt_mode.h
index 273ac9b25f..1cde3c3752 100644
--- a/include/usb_dp_alt_mode.h
+++ b/include/usb_dp_alt_mode.h
@@ -33,8 +33,8 @@ void dp_init(int port);
bool dp_is_active(int port);
/*
- * Checks weather the mode entry sequence for DisplayPort alternate mode is
- * done for a port.
+ * Checks whether the mode entry sequence for DisplayPort alternate mode is done
+ * for a port.
*
* @param port USB-C port number
* @return True if entry sequence for DisplayPort mode is completed
diff --git a/include/usb_mode.h b/include/usb_mode.h
index 7c125e1406..728d7abc44 100644
--- a/include/usb_mode.h
+++ b/include/usb_mode.h
@@ -24,7 +24,7 @@
void enter_usb_init(int port);
/*
- * Checks weather the mode entry sequence for USB4 is done for a port.
+ * Checks whether the mode entry sequence for USB4 is done for a port.
*
* @param port USB-C port number
* @return True if entry sequence for USB4 is completed