Skip to content

Commit

Permalink
Fix some typos in comments
Browse files Browse the repository at this point in the history
Signed-off-by: hujun5 <[email protected]>
  • Loading branch information
hujun260 committed Oct 11, 2023
1 parent 6cad7e9 commit 0a7d137
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions arch/arm/src/sama5/sam_tsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static int sam_tsd_sample(struct sam_tsd_s *priv,
irqstate_t flags;
int ret = -EAGAIN;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*/
Expand Down Expand Up @@ -354,7 +354,7 @@ static int sam_tsd_waitsample(struct sam_tsd_s *priv,
irqstate_t flags;
int ret = 0;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*
Expand Down
4 changes: 2 additions & 2 deletions drivers/input/ads7843e.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ static int ads7843e_sample(FAR struct ads7843e_dev_s *priv,
irqstate_t flags;
int ret = -EAGAIN;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*/
Expand Down Expand Up @@ -364,7 +364,7 @@ static int ads7843e_waitsample(FAR struct ads7843e_dev_s *priv,
irqstate_t flags;
int ret;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/mxt.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ static inline int mxt_waitsample(FAR struct mxt_dev_s *priv)
irqstate_t flags;
int ret;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*/
Expand Down
4 changes: 2 additions & 2 deletions drivers/input/tsc2007.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static int tsc2007_sample(FAR struct tsc2007_dev_s *priv,
irqstate_t flags;
int ret = -EAGAIN;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*/
Expand Down Expand Up @@ -323,7 +323,7 @@ static int tsc2007_waitsample(FAR struct tsc2007_dev_s *priv,
irqstate_t flags;
int ret;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*
Expand Down
4 changes: 2 additions & 2 deletions drivers/usbhost/usbhost_hidmouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ static int usbhost_sample(FAR struct usbhost_state_s *priv,
irqstate_t flags;
int ret = -EAGAIN;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*/
Expand Down Expand Up @@ -1260,7 +1260,7 @@ static int usbhost_waitsample(FAR struct usbhost_state_s *priv,
irqstate_t flags;
int ret;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*
Expand Down
4 changes: 2 additions & 2 deletions drivers/usbhost/usbhost_xboxcontroller.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ static int usbhost_sample(FAR struct usbhost_state_s *priv,
irqstate_t flags;
int ret = -EAGAIN;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*/
Expand Down Expand Up @@ -957,7 +957,7 @@ static int usbhost_waitsample(FAR struct usbhost_state_s *priv,
irqstate_t flags;
int ret;

/* Interrupts me be disabled when this is called to (1) prevent posting
/* Interrupts must be disabled when this is called to (1) prevent posting
* of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported.
*
Expand Down

0 comments on commit 0a7d137

Please sign in to comment.