Skip to content

Commit

Permalink
spi: fix comment/printk typos in spi
Browse files Browse the repository at this point in the history
Correct spelling typo in drivers/spi

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Masanari Iida authored and Jiri Kosina committed Sep 1, 2012
1 parent 7c6c4d5 commit 886db6a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion drivers/spi/spi-au1550.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ static irqreturn_t au1550_spi_dma_irq_callback(struct au1550_spi *hw)
/*
* due to an spi error we consider transfer as done,
* so mask all events until before next transfer start
* and stop the possibly running dma immediatelly
* and stop the possibly running dma immediately
*/
au1550_spi_mask_ack_all(hw);
au1xxx_dbdma_stop(hw->dma_rx_ch);
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/spi-bfin-sport.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ bfin_sport_spi_pump_transfers(unsigned long data)
dev_dbg(drv_data->dev, "IO write error!\n");
drv_data->state = ERROR_STATE;
} else {
/* Update total byte transfered */
/* Update total byte transferred */
message->actual_length += transfer->len;
/* Move to next transfer of this msg */
drv_data->state = bfin_sport_spi_next_transfer(drv_data);
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/spi-oc-tiny.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static int tiny_spi_txrx_bufs(struct spi_device *spi, struct spi_transfer *t)
unsigned int i;

if (hw->irq >= 0) {
/* use intrrupt driven data transfer */
/* use interrupt driven data transfer */
hw->len = t->len;
hw->txp = t->tx_buf;
hw->rxp = t->rx_buf;
Expand Down
4 changes: 2 additions & 2 deletions drivers/spi/spi-ppc4xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ struct spi_ppc4xx_regs {
u8 dummy;
/*
* Clock divisor modulus register
* This uses the follwing formula:
* This uses the following formula:
* SCPClkOut = OPBCLK/(4(CDM + 1))
* or
* CDM = (OPBCLK/4*SCPClkOut) - 1
Expand Down Expand Up @@ -201,7 +201,7 @@ static int spi_ppc4xx_setupxfer(struct spi_device *spi, struct spi_transfer *t)
return -EINVAL;
}

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

/* Set the clock */
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/spi-topcliff-pch.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ static int pch_spi_transfer(struct spi_device *pspi, struct spi_message *pmsg)
}

if (unlikely(pspi->max_speed_hz == 0)) {
dev_err(&pspi->dev, "%s pch_spi_tranfer maxspeed=%d\n",
dev_err(&pspi->dev, "%s pch_spi_transfer maxspeed=%d\n",
__func__, pspi->max_speed_hz);
retval = -EINVAL;
goto err_out;
Expand Down

0 comments on commit 886db6a

Please sign in to comment.