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
1 changed files with 1 additions and 1 deletions

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;
}