Skip to content

Commit 886db6a

Browse files
standby24x7Jiri Kosina
authored andcommitted
spi: fix comment/printk typos in spi
Correct spelling typo in drivers/spi Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 7c6c4d5 commit 886db6a

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎drivers/spi/spi-au1550.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ static irqreturn_t au1550_spi_dma_irq_callback(struct au1550_spi *hw)
475475
/*
476476
* due to an spi error we consider transfer as done,
477477
* so mask all events until before next transfer start
478-
* and stop the possibly running dma immediatelly
478+
* and stop the possibly running dma immediately
479479
*/
480480
au1550_spi_mask_ack_all(hw);
481481
au1xxx_dbdma_stop(hw->dma_rx_ch);

‎drivers/spi/spi-bfin-sport.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ bfin_sport_spi_pump_transfers(unsigned long data)
467467
dev_dbg(drv_data->dev, "IO write error!\n");
468468
drv_data->state = ERROR_STATE;
469469
} else {
470-
/* Update total byte transfered */
470+
/* Update total byte transferred */
471471
message->actual_length += transfer->len;
472472
/* Move to next transfer of this msg */
473473
drv_data->state = bfin_sport_spi_next_transfer(drv_data);

‎drivers/spi/spi-oc-tiny.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static int tiny_spi_txrx_bufs(struct spi_device *spi, struct spi_transfer *t)
129129
unsigned int i;
130130

131131
if (hw->irq >= 0) {
132-
/* use intrrupt driven data transfer */
132+
/* use interrupt driven data transfer */
133133
hw->len = t->len;
134134
hw->txp = t->tx_buf;
135135
hw->rxp = t->rx_buf;

‎drivers/spi/spi-ppc4xx.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ struct spi_ppc4xx_regs {
101101
u8 dummy;
102102
/*
103103
* Clock divisor modulus register
104-
* This uses the follwing formula:
104+
* This uses the following formula:
105105
* SCPClkOut = OPBCLK/(4(CDM + 1))
106106
* or
107107
* CDM = (OPBCLK/4*SCPClkOut) - 1
@@ -201,7 +201,7 @@ static int spi_ppc4xx_setupxfer(struct spi_device *spi, struct spi_transfer *t)
201201
return -EINVAL;
202202
}
203203

204-
/* Write new configration */
204+
/* Write new configuration */
205205
out_8(&hw->regs->mode, cs->mode);
206206

207207
/* Set the clock */

‎drivers/spi/spi-topcliff-pch.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ static int pch_spi_transfer(struct spi_device *pspi, struct spi_message *pmsg)
505505
}
506506

507507
if (unlikely(pspi->max_speed_hz == 0)) {
508-
dev_err(&pspi->dev, "%s pch_spi_tranfer maxspeed=%d\n",
508+
dev_err(&pspi->dev, "%s pch_spi_transfer maxspeed=%d\n",
509509
__func__, pspi->max_speed_hz);
510510
retval = -EINVAL;
511511
goto err_out;

0 commit comments

Comments
 (0)