From 66fa229fcc902ba3669c7195ee27b22fa92c5ddc Mon Sep 17 00:00:00 2001 From: hujun5 Date: Tue, 26 Sep 2023 20:43:30 +0800 Subject: [PATCH] Fix some typos in comments Signed-off-by: hujun5 --- arch/arm/src/sama5/sam_tsd.c | 4 ++-- drivers/input/ads7843e.c | 4 ++-- drivers/input/mxt.c | 2 +- drivers/input/tsc2007.c | 4 ++-- drivers/usbhost/usbhost_hidmouse.c | 4 ++-- drivers/usbhost/usbhost_xboxcontroller.c | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/src/sama5/sam_tsd.c b/arch/arm/src/sama5/sam_tsd.c index 27be92fed9..930c18b7fa 100644 --- a/arch/arm/src/sama5/sam_tsd.c +++ b/arch/arm/src/sama5/sam_tsd.c @@ -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. * diff --git a/drivers/input/ads7843e.c b/drivers/input/ads7843e.c index cfb3cf3de4..8bc69f5cc6 100644 --- a/drivers/input/ads7843e.c +++ b/drivers/input/ads7843e.c @@ -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. * diff --git a/drivers/input/mxt.c b/drivers/input/mxt.c index b42beed68f..d73313fe5d 100644 --- a/drivers/input/mxt.c +++ b/drivers/input/mxt.c @@ -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. */ diff --git a/drivers/input/tsc2007.c b/drivers/input/tsc2007.c index 9b35f933e9..766fb8db76 100644 --- a/drivers/input/tsc2007.c +++ b/drivers/input/tsc2007.c @@ -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. * diff --git a/drivers/usbhost/usbhost_hidmouse.c b/drivers/usbhost/usbhost_hidmouse.c index b743049001..7824ed895e 100644 --- a/drivers/usbhost/usbhost_hidmouse.c +++ b/drivers/usbhost/usbhost_hidmouse.c @@ -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. * diff --git a/drivers/usbhost/usbhost_xboxcontroller.c b/drivers/usbhost/usbhost_xboxcontroller.c index 72b34623b8..7172f82831 100644 --- a/drivers/usbhost/usbhost_xboxcontroller.c +++ b/drivers/usbhost/usbhost_xboxcontroller.c @@ -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. *