Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45120
b: refs/heads/master
c: 4b1badf
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and Linus Torvalds committed Dec 30, 2006
1 parent 4568485 commit de6b151
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6e88e671ac12888df2d533dd4ddef705431a32a
refs/heads/master: 4b1badf5d9ddfc46ad075ca5bfc465972c85cc7c
2 changes: 2 additions & 0 deletions trunk/drivers/spi/spi_mpc83xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ u32 mpc83xx_spi_tx_buf_##type(struct mpc83xx_spi *mpc83xx_spi) \
{ \
u32 data; \
const type * tx = mpc83xx_spi->tx; \
if (!tx) \
return 0; \
data = *tx++; \
mpc83xx_spi->tx = tx; \
return data; \
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/spi/spi_s3c24xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static int s3c24xx_spi_setup(struct spi_device *spi)

static inline unsigned int hw_txbyte(struct s3c24xx_spi *hw, int count)
{
return hw->tx ? hw->tx[count] : 0xff;
return hw->tx ? hw->tx[count] : 0;
}

static int s3c24xx_spi_txrx(struct spi_device *spi, struct spi_transfer *t)
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/spi/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum);
* the data being transferred; that may reduce overhead, when the
* underlying driver uses dma.
*
* If the transmit buffer is null, undefined data will be shifted out
* If the transmit buffer is null, zeroes will be shifted out
* while filling rx_buf. If the receive buffer is null, the data
* shifted in will be discarded. Only "len" bytes shift out (or in).
* It's an error to try to shift out a partial word. (For example, by
Expand Down

0 comments on commit de6b151

Please sign in to comment.