diff options
Diffstat (limited to 'drivers/spi/spi-fsl-dspi.c')
-rw-r--r-- | drivers/spi/spi-fsl-dspi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index a37f15665a60..ec79f726672a 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c | |||
@@ -375,9 +375,6 @@ static int dspi_setup(struct spi_device *spi) | |||
375 | if (!spi->max_speed_hz) | 375 | if (!spi->max_speed_hz) |
376 | return -EINVAL; | 376 | return -EINVAL; |
377 | 377 | ||
378 | if (!spi->bits_per_word) | ||
379 | spi->bits_per_word = 8; | ||
380 | |||
381 | return dspi_setup_transfer(spi, NULL); | 378 | return dspi_setup_transfer(spi, NULL); |
382 | } | 379 | } |
383 | 380 | ||