diff options
-rw-r--r-- | drivers/spi/spi-atmel.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 88bebf8cf0e5..4804586edd29 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c | |||
@@ -1087,14 +1087,6 @@ static int atmel_spi_one_transfer(struct spi_master *master, | |||
1087 | } | 1087 | } |
1088 | } | 1088 | } |
1089 | 1089 | ||
1090 | if (xfer->bits_per_word > 8) { | ||
1091 | if (xfer->len % 2) { | ||
1092 | dev_dbg(&spi->dev, | ||
1093 | "buffer len should be 16 bits aligned\n"); | ||
1094 | return -EINVAL; | ||
1095 | } | ||
1096 | } | ||
1097 | |||
1098 | /* | 1090 | /* |
1099 | * DMA map early, for performance (empties dcache ASAP) and | 1091 | * DMA map early, for performance (empties dcache ASAP) and |
1100 | * better fault reporting. | 1092 | * better fault reporting. |