Fix some typos in comments
Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
parent
6cad7e9582
commit
66fa229fcc
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue