Merge remote-tracking branch 'spi/fix/xilinx' into spi-linus

This commit is contained in:
Mark Brown 2013-06-26 16:20:55 +01:00
commit 77ba61454a

View File

@ -315,7 +315,7 @@ static int xilinx_spi_txrx_bufs(struct spi_device *spi, struct spi_transfer *t)
}
/* See if there is more data to send */
if (!xspi->remaining_bytes > 0)
if (xspi->remaining_bytes <= 0)
break;
}