diff options
Diffstat (limited to 'drivers/spi/spi-atmel.c')
-rw-r--r-- | drivers/spi/spi-atmel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 6478a9713038..a828222c3e4e 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c | |||
@@ -1401,8 +1401,7 @@ static int atmel_spi_transfer(struct spi_device *spi, struct spi_message *msg) | |||
1401 | asd = spi->controller_state; | 1401 | asd = spi->controller_state; |
1402 | bits = (asd->csr >> 4) & 0xf; | 1402 | bits = (asd->csr >> 4) & 0xf; |
1403 | if (bits != xfer->bits_per_word - 8) { | 1403 | if (bits != xfer->bits_per_word - 8) { |
1404 | dev_dbg(&spi->dev, "you can't yet change " | 1404 | dev_dbg(&spi->dev, "you can't yet change bits_per_word in transfers\n"); |
1405 | "bits_per_word in transfers\n"); | ||
1406 | return -ENOPROTOOPT; | 1405 | return -ENOPROTOOPT; |
1407 | } | 1406 | } |
1408 | } | 1407 | } |