summaryrefslogtreecommitdiff
path: root/chip/stm32/spi.c
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2019-05-31 08:42:28 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-19 16:16:44 +0000
commit4309ccb95ed6eb10770de6f2fe9abb2dd979e99b (patch)
treef1c398baf8c6748c606693bb0e90baec09bdf0e3 /chip/stm32/spi.c
parentde2a794a228ea8aa86f4d4c5c21c99150f4688f6 (diff)
downloadchrome-ec-4309ccb95ed6eb10770de6f2fe9abb2dd979e99b.tar.gz
cleanup: Fix common spelling typos in comments
Used 'git grep' to fix the following misspelled words across the codebase: * recieved * recieving * delaraction * finctionality * lastest * permanenlty * Callabck BRANCH=none BUG=none TEST=make buildall -j Change-Id: I68ec9c8b967941041e46ff3ed3549ab2a06604ac Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1636848 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'chip/stm32/spi.c')
-rw-r--r--chip/stm32/spi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/stm32/spi.c b/chip/stm32/spi.c
index a5792b0f0c..c71d0580c9 100644
--- a/chip/stm32/spi.c
+++ b/chip/stm32/spi.c
@@ -273,7 +273,7 @@ static void reply(dma_chan_t *txdma,
* Sends a byte over SPI without DMA
*
* This is mostly used when we want to relay status bytes to the AP while we're
- * recieving the message and we're thinking about it.
+ * receiving the message and we're thinking about it.
*
* @note It may be sent 0, 1, or >1 times, depending on whether the host clocks
* the bus or not. Basically, the EC is saying "if you ask me what my status is,
@@ -349,7 +349,7 @@ static void setup_for_transaction(void)
#endif
}
-/* Forward declaraction */
+/* Forward declaration */
static void spi_init(void);
/*
@@ -459,7 +459,7 @@ static void spi_send_response_packet(struct host_packet *pkt)
* Handle an event on the NSS pin
*
* A falling edge of NSS indicates that the master is starting a new
- * transaction. A rising edge indicates that we have finsihed
+ * transaction. A rising edge indicates that we have finished.
*
* @param signal GPIO signal for the NSS pin
*/