diff options
Diffstat (limited to 'drivers/spi/spi_txx9.c')
-rw-r--r-- | drivers/spi/spi_txx9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_txx9.c b/drivers/spi/spi_txx9.c index 29cbb065618a..8e36b2153d9a 100644 --- a/drivers/spi/spi_txx9.c +++ b/drivers/spi/spi_txx9.c | |||
@@ -126,7 +126,7 @@ static int txx9spi_setup(struct spi_device *spi) | |||
126 | || spi->max_speed_hz < c->min_speed_hz) | 126 | || spi->max_speed_hz < c->min_speed_hz) |
127 | return -EINVAL; | 127 | return -EINVAL; |
128 | 128 | ||
129 | bits_per_word = spi->bits_per_word ? : 8; | 129 | bits_per_word = spi->bits_per_word; |
130 | if (bits_per_word != 8 && bits_per_word != 16) | 130 | if (bits_per_word != 8 && bits_per_word != 16) |
131 | return -EINVAL; | 131 | return -EINVAL; |
132 | 132 | ||