mirror of https://gitee.com/openkylin/linux.git
Merge remote-tracking branch 'spi/fix/xilinx' into spi-linus
This commit is contained in:
commit
77ba61454a
|
@ -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 */
|
/* See if there is more data to send */
|
||||||
if (!xspi->remaining_bytes > 0)
|
if (xspi->remaining_bytes <= 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue