Message ID | 1395775758-9804-1-git-send-email-broonie@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 1e25cd4729bd76662d02b142a6a7f8504bb6aea7 |
Headers | show |
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 26b331d27c35..121c43b5a8e8 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -1812,8 +1812,6 @@ static int __spi_validate(struct spi_device *spi, struct spi_message *message) if (list_empty(&message->transfers)) return -EINVAL; - if (!message->complete) - return -EINVAL; /* Half-duplex links include original MicroWire, and ones with * only one data pin like SPI_3WIRE (switches direction) or where