Skip to content

Commit d6a349c

Browse files
committed
fix: correct misspellings (recieveing, occured, occurences, ane)
1 parent bba543c commit d6a349c

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

common/usb_pd_protocol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@ static void handle_ctrl_request(int port, uint32_t head,
18211821
/*
18221822
* Since Enter USB sets the mux state to SAFE mode,
18231823
* resetting the mux state back to USB mode on
1824-
* recieveing a NACK.
1824+
* receiving a NACK.
18251825
*/
18261826
usb_mux_set(port, USB_PD_MUX_USB_ENABLED,
18271827
USB_SWITCH_CONNECT, pd[port].polarity);

driver/fingerprint/fpc/libfp/fpc_private.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static int fpc_check_hwid(void)
102102
uint16_t id;
103103
int rc;
104104

105-
/* Clear previous occurences of relevant |errors| flags. */
105+
/* Clear previous occurrences of relevant |errors| flags. */
106106
errors &= (~FP_ERROR_SPI_COMM & ~FP_ERROR_BAD_HWID);
107107

108108
spi_buf[0] = FPC_CMD_HW_ID;

driver/fingerprint/fpc/libfp/fpc_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ enum fpc_error_code_internal {
8686
FPC_ERROR_INTERNAL_41 = 41, /* The oscillator calibration resulted in a too high or low value */
8787
FPC_ERROR_INTERNAL_42 = 42, /* Sensor driver was opened with NULL configuration */
8888
FPC_ERROR_INTERNAL_43 = 43, /* Sensor driver as opened with NULL hw descriptor */
89-
FPC_ERROR_INTERNAL_44 = 44, /* Error occured during image drive test */
89+
FPC_ERROR_INTERNAL_44 = 44, /* Error occurred during image drive test */
9090
};
9191

9292
/* FPC specific initialization function to fill their context */

driver/ppc/sn5s330.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ enum sn5s330_pp_idx {
130130
*
131131
* The ILIM_PP1 bit indicates an overcurrent condition when sourcing on power
132132
* path 1. For rising edge registers, this indicates an overcurrent has
133-
* occured; similarly for falling edge, it means the overcurrent condition is no
133+
* occurred; similarly for falling edge, it means the overcurrent condition is no
134134
* longer present.
135135
*/
136136
#define SN5S330_ILIM_PP1_MASK BIT(4)

driver/touchpad_st.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ static int st_tp_read_frame(void)
15871587
};
15881588

15891589
/*
1590-
* Since usb_packet.frame is already ane uint8_t byte array, we can just
1590+
* Since usb_packet.frame is already a uint8_t byte array, we can just
15911591
* make it the RX buffer for SPI transaction.
15921592
*
15931593
* When there is a extra byte, since we know that flags is a one byte

include/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3149,7 +3149,7 @@
31493149

31503150
/*
31513151
* Detect power signal interrupt storms, defined as more than
3152-
* CONFIG_POWER_SIGNAL_INTERRUPT_STORM_DETECT_THRESHOLD occurences of a single
3152+
* CONFIG_POWER_SIGNAL_INTERRUPT_STORM_DETECT_THRESHOLD occurrences of a single
31533153
* power signal interrupt within one second.
31543154
*/
31553155
#undef CONFIG_POWER_SIGNAL_INTERRUPT_STORM_DETECT_THRESHOLD

0 commit comments

Comments
 (0)