Merge tag 'v4.0-rc7' into spi-img-spfi

Linux 4.0-rc7
This commit is contained in:
Mark Brown
2015-04-08 21:04:25 +01:00
1192 changed files with 13098 additions and 7657 deletions

View File

@@ -466,6 +466,13 @@ static int img_spfi_transfer_one(struct spi_master *master,
unsigned long flags;
int ret;
if (xfer->len > SPFI_TRANSACTION_TSIZE_MASK) {
dev_err(spfi->dev,
"Transfer length (%d) is greater than the max supported (%d)",
xfer->len, SPFI_TRANSACTION_TSIZE_MASK);
return -EINVAL;
}
/*
* Stop all DMA and reset the controller if the previous transaction
* timed-out and never completed it's DMA.