From 321ccb3ba347ef314045732aae7399b8155fe976 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 9 Apr 2015 16:13:03 -0600 Subject: [PATCH] Fix several typos in comments --- arch/arm/src/armv7-m/up_mpu.c | 2 +- arch/arm/src/efm32/efm32_usbhost.c | 2 +- arch/arm/src/stm32/stm32_otgfshost.c | 2 +- arch/arm/src/stm32/stm32_otghshost.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/armv7-m/up_mpu.c b/arch/arm/src/armv7-m/up_mpu.c index 233e621477..91113dc21b 100644 --- a/arch/arm/src/armv7-m/up_mpu.c +++ b/arch/arm/src/armv7-m/up_mpu.c @@ -307,7 +307,7 @@ uint32_t mpu_subregion(uintptr_t base, size_t size, uint8_t l2size) ret = mpu_subregion_ms(size + offset, l2size); - /* Then OR in the mask need to handle disabled subretinos at the beginning + /* Then OR in the mask need to handle disabled subregions at the beginning * of the region. */ diff --git a/arch/arm/src/efm32/efm32_usbhost.c b/arch/arm/src/efm32/efm32_usbhost.c index 421472203a..bcb8557921 100644 --- a/arch/arm/src/efm32/efm32_usbhost.c +++ b/arch/arm/src/efm32/efm32_usbhost.c @@ -986,7 +986,7 @@ static int efm32_chan_wait(FAR struct efm32_usbhost_s *priv, flags = irqsave(); - /* Loop, testing for an end of transfer conditino. The channel 'result' + /* Loop, testing for an end of transfer condition. The channel 'result' * was set to EBUSY and 'waiter' was set to true before the transfer; 'waiter' * will be set to false and 'result' will be set appropriately when the * tranfer is completed. diff --git a/arch/arm/src/stm32/stm32_otgfshost.c b/arch/arm/src/stm32/stm32_otgfshost.c index 1d700c5ad0..9cc4c5e35d 100644 --- a/arch/arm/src/stm32/stm32_otgfshost.c +++ b/arch/arm/src/stm32/stm32_otgfshost.c @@ -991,7 +991,7 @@ static int stm32_chan_wait(FAR struct stm32_usbhost_s *priv, flags = irqsave(); - /* Loop, testing for an end of transfer conditino. The channel 'result' + /* Loop, testing for an end of transfer condition. The channel 'result' * was set to EBUSY and 'waiter' was set to true before the transfer; 'waiter' * will be set to false and 'result' will be set appropriately when the * tranfer is completed. diff --git a/arch/arm/src/stm32/stm32_otghshost.c b/arch/arm/src/stm32/stm32_otghshost.c index 97025c90fd..a50fa164fa 100644 --- a/arch/arm/src/stm32/stm32_otghshost.c +++ b/arch/arm/src/stm32/stm32_otghshost.c @@ -991,7 +991,7 @@ static int stm32_chan_wait(FAR struct stm32_usbhost_s *priv, flags = irqsave(); - /* Loop, testing for an end of transfer conditino. The channel 'result' + /* Loop, testing for an end of transfer condition. The channel 'result' * was set to EBUSY and 'waiter' was set to true before the transfer; 'waiter' * will be set to false and 'result' will be set appropriately when the * tranfer is completed.