Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365211
b: refs/heads/master
c: 58d8beb
h: refs/heads/master
i:
  365209: c96c9f8
  365207: 3e21d27
v: v3
  • Loading branch information
Jonas Gorski authored and Mark Brown committed Mar 12, 2013
1 parent 8e74497 commit 3e2609b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2bdae06329ef3fb8918032735cd963efc701b7e
refs/heads/master: 58d8bebea57b519cb606a59dc1263556e8746119
7 changes: 2 additions & 5 deletions trunk/drivers/spi/spi-bcm63xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,9 @@ static const unsigned bcm63xx_spi_freq_table[SPI_CLK_MASK][2] = {
static int bcm63xx_spi_check_transfer(struct spi_device *spi,
struct spi_transfer *t)
{
u8 bits_per_word;

bits_per_word = (t) ? t->bits_per_word : spi->bits_per_word;
if (bits_per_word != 8) {
if (t->bits_per_word != 8) {
dev_err(&spi->dev, "%s, unsupported bits_per_word=%d\n",
__func__, bits_per_word);
__func__, t->bits_per_word);
return -EINVAL;
}

Expand Down

0 comments on commit 3e2609b

Please sign in to comment.