Merge remote-tracking branch 'spi/fix/xilinx' into spi-linus
This commit is contained in:
commit
77ba61454a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue