Skip to content

Commit 6a50bbd

Browse files
ndrs-pstfabiobaltieri
authored andcommitted
drivers: spi: correct spelling
Employ a code spell checking tool to scan and correct spelling errors in all files within the drivers/spi directory. Signed-off-by: Pisit Sawangvonganan <[email protected]>
1 parent 6a815d4 commit 6a50bbd

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

drivers/spi/Kconfig.mcux_lpspi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ config SPI_MCUX_LPSPI_DMA
2222

2323
if SPI_RTIO
2424
config SPI_MCUX_RTIO_SQ_SIZE
25-
int "number of avialable submission queue entries"
25+
int "number of available submission queue entries"
2626
default 8 # sensible default that covers most common spi transactions
2727
help
2828
when rtio is use with spi each driver holds a context with which blocking

drivers/spi/Kconfig.sam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ config SPI_SAM_DMA
2222

2323
if SPI_RTIO
2424
config SPI_SAM_RTIO_SQ_SIZE
25-
int "Number of avialable submission queue entries"
25+
int "Number of available submission queue entries"
2626
default 8 # Sensible default that covers most common spi transactions
2727
help
2828
When RTIO is use with SPI each driver holds a context with which blocking

drivers/spi/spi_b91.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static void spi_b91_txrx(const struct device *dev, uint32_t len)
228228
BM_SET(reg_spi_fifo_state(cfg->peripheral_id), FLD_SPI_RXF_CLR);
229229
}
230230

231-
/* wait fot SPI is ready */
231+
/* wait for SPI is ready */
232232
while (spi_is_busy(cfg->peripheral_id)) {
233233
};
234234

drivers/spi/spi_opentitan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ static void spi_opentitan_xfer(const struct device *dev, const bool gpio_cs_cont
169169
}
170170

171171
/* Keep CS asserted if another Tx segment remains or if two more Rx
172-
* segements remain (because we will handle one Rx segment after the
172+
* segments remain (because we will handle one Rx segment after the
173173
* forthcoming transaction).
174174
*/
175175
if (ctx->tx_count > 0 || ctx->rx_count > 1) {

drivers/spi/spi_xec_qmspi_ldma.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ static int qmspi_set_frequency(struct spi_qmspi_data *qdata, struct qmspi_regs *
215215
* SPI signalling mode: CPOL and CPHA
216216
* CPOL = 0 is clock idles low, 1 is clock idle high
217217
* CPHA = 0 Transmitter changes data on trailing of preceding clock cycle.
218-
* Receiver samples data on leading edge of clock cyle.
218+
* Receiver samples data on leading edge of clock cycle.
219219
* 1 Transmitter changes data on leading edge of current clock cycle.
220220
* Receiver samples data on the trailing edge of clock cycle.
221221
* SPI Mode nomenclature:
@@ -475,7 +475,7 @@ static inline int qmspi_xfr_cm_init(const struct device *dev,
475475
* RX data discard for certain SPI command protocols using dual/quad I/O.
476476
* 1. Get largest contiguous data size from SPI context.
477477
* 2. If the SPI TX context has a non-zero length configure Local-DMA TX
478-
* channel 1 for contigous data size. If TX context has valid buffer
478+
* channel 1 for contiguous data size. If TX context has valid buffer
479479
* configure channel to use context buffer with address increment.
480480
* If the TX buffer pointer is NULL interpret byte length as the number
481481
* of clocks to generate with output line(s) tri-stated. NOTE: The controller
@@ -487,7 +487,7 @@ static inline int qmspi_xfr_cm_init(const struct device *dev,
487487
* For example, if I/O lines is 4 (quad) meaning 4 bits per clock and the
488488
* user wants 7 clocks then the number of bit units is 4 * 7 = 28.
489489
* 3. If instead, the SPI RX context has a non-zero length configure Local-DMA
490-
* RX channel 1 for the contigous data size. If RX context has a valid
490+
* RX channel 1 for the contiguous data size. If RX context has a valid
491491
* buffer configure channel to use buffer with address increment else
492492
* configure channel for driver data temporary buffer without address
493493
* increment.
@@ -696,7 +696,7 @@ static int qmspi_xfr_start_async(const struct device *dev, const struct spi_buf_
696696
return 0;
697697
}
698698

699-
/* Wrapper to start asynchronous (interrupts enabled) SPI transction */
699+
/* Wrapper to start asynchronous (interrupts enabled) SPI transaction */
700700
static int qmspi_xfr_async(const struct device *dev,
701701
const struct spi_config *config,
702702
const struct spi_buf_set *tx_bufs,

0 commit comments

Comments
 (0)