Fix some typos in comments

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5 2023-09-26 20:43:30 +08:00 committed by Alin Jerpelea
parent 6cad7e9582
commit 66fa229fcc
6 changed files with 11 additions and 11 deletions

View File

@ -300,7 +300,7 @@ static int sam_tsd_sample(struct sam_tsd_s *priv,
irqstate_t flags; irqstate_t flags;
int ret = -EAGAIN; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
*/ */
@ -354,7 +354,7 @@ static int sam_tsd_waitsample(struct sam_tsd_s *priv,
irqstate_t flags; irqstate_t flags;
int ret = 0; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
* *

View File

@ -310,7 +310,7 @@ static int ads7843e_sample(FAR struct ads7843e_dev_s *priv,
irqstate_t flags; irqstate_t flags;
int ret = -EAGAIN; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
*/ */
@ -364,7 +364,7 @@ static int ads7843e_waitsample(FAR struct ads7843e_dev_s *priv,
irqstate_t flags; irqstate_t flags;
int ret; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
* *

View File

@ -657,7 +657,7 @@ static inline int mxt_waitsample(FAR struct mxt_dev_s *priv)
irqstate_t flags; irqstate_t flags;
int ret; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
*/ */

View File

@ -269,7 +269,7 @@ static int tsc2007_sample(FAR struct tsc2007_dev_s *priv,
irqstate_t flags; irqstate_t flags;
int ret = -EAGAIN; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
*/ */
@ -323,7 +323,7 @@ static int tsc2007_waitsample(FAR struct tsc2007_dev_s *priv,
irqstate_t flags; irqstate_t flags;
int ret; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
* *

View File

@ -1195,7 +1195,7 @@ static int usbhost_sample(FAR struct usbhost_state_s *priv,
irqstate_t flags; irqstate_t flags;
int ret = -EAGAIN; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
*/ */
@ -1260,7 +1260,7 @@ static int usbhost_waitsample(FAR struct usbhost_state_s *priv,
irqstate_t flags; irqstate_t flags;
int ret; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
* *

View File

@ -913,7 +913,7 @@ static int usbhost_sample(FAR struct usbhost_state_s *priv,
irqstate_t flags; irqstate_t flags;
int ret = -EAGAIN; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
*/ */
@ -957,7 +957,7 @@ static int usbhost_waitsample(FAR struct usbhost_state_s *priv,
irqstate_t flags; irqstate_t flags;
int ret; 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 * of semaphores from interrupt handlers, and (2) to prevent sampled data
* from changing until it has been reported. * from changing until it has been reported.
* *