diff options
Diffstat (limited to 'drivers/spi/omap_uwire.c')
-rw-r--r-- | drivers/spi/omap_uwire.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/omap_uwire.c b/drivers/spi/omap_uwire.c index fe8b9ac0ccef..747d29be45d5 100644 --- a/drivers/spi/omap_uwire.c +++ b/drivers/spi/omap_uwire.c | |||
@@ -339,8 +339,6 @@ static int uwire_setup_transfer(struct spi_device *spi, struct spi_transfer *t) | |||
339 | bits = spi->bits_per_word; | 339 | bits = spi->bits_per_word; |
340 | if (t != NULL && t->bits_per_word) | 340 | if (t != NULL && t->bits_per_word) |
341 | bits = t->bits_per_word; | 341 | bits = t->bits_per_word; |
342 | if (!bits) | ||
343 | bits = 8; | ||
344 | 342 | ||
345 | if (bits > 16) { | 343 | if (bits > 16) { |
346 | pr_debug("%s: wordsize %d?\n", dev_name(&spi->dev), bits); | 344 | pr_debug("%s: wordsize %d?\n", dev_name(&spi->dev), bits); |