mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull the trivial tree from Jiri Kosina: "Tiny usual fixes all over the place" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits) doc: fix old config name of kprobetrace fs/fs-writeback.c: cleanup riteback_sb_inodes kerneldoc btrfs: fix the commment for the action flags in delayed-ref.h btrfs: fix trivial typo for the comment of BTRFS_FREE_INO_OBJECTID vfs: fix kerneldoc for generic_fh_to_parent() treewide: fix comment/printk/variable typos ipr: fix small coding style issues doc: fix broken utf8 encoding nfs: comment fix platform/x86: fix asus_laptop.wled_type module parameter mfd: printk/comment fixes doc: getdelays.c: remember to close() socket on error in create_nl_socket() doc: aliasing-test: close fd on write error mmc: fix comment typos dma: fix comments spi: fix comment/printk typos in spi Coccinelle: fix typo in memdup_user.cocci tmiofb: missing NULL pointer checks tools: perf: Fix typo in tools/perf tools/testing: fix comment / output typos ...
This commit is contained in:
commit
99dbb1632f
87 changed files with 142 additions and 207 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue