diff options
-rw-r--r-- | drivers/spi/spi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 38e1c315bb13..d94782340b47 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c | |||
@@ -1621,8 +1621,6 @@ static int __spi_validate(struct spi_device *spi, struct spi_message *message) | |||
1621 | 1621 | ||
1622 | if (list_empty(&message->transfers)) | 1622 | if (list_empty(&message->transfers)) |
1623 | return -EINVAL; | 1623 | return -EINVAL; |
1624 | if (!message->complete) | ||
1625 | return -EINVAL; | ||
1626 | 1624 | ||
1627 | /* Half-duplex links include original MicroWire, and ones with | 1625 | /* Half-duplex links include original MicroWire, and ones with |
1628 | * only one data pin like SPI_3WIRE (switches direction) or where | 1626 | * only one data pin like SPI_3WIRE (switches direction) or where |