Merge commit 'v2.6.38-rc8' into spi/next
Conflicts: drivers/spi/pxa2xx_spi_pci.c
This commit is contained in:
@@ -568,9 +568,11 @@ static int sh_msiof_spi_txrx(struct spi_device *spi, struct spi_transfer *t)
|
||||
bytes_done = 0;
|
||||
|
||||
while (bytes_done < t->len) {
|
||||
void *rx_buf = t->rx_buf ? t->rx_buf + bytes_done : NULL;
|
||||
const void *tx_buf = t->tx_buf ? t->tx_buf + bytes_done : NULL;
|
||||
n = sh_msiof_spi_txrx_once(p, tx_fifo, rx_fifo,
|
||||
t->tx_buf + bytes_done,
|
||||
t->rx_buf + bytes_done,
|
||||
tx_buf,
|
||||
rx_buf,
|
||||
words, bits);
|
||||
if (n < 0)
|
||||
break;
|
||||
|
Reference in New Issue
Block a user