Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212335
b: refs/heads/master
c: 7715aad
h: refs/heads/master
i:
  212333: d801bf4
  212331: 7e218c2
  212327: 0041223
  212319: 80266c6
v: v3
  • Loading branch information
Mike Frysinger committed Oct 18, 2010
1 parent 059edae commit 6ab7edc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a75bd65b2189d711938d0fa7d9a79df47ddd66fa
refs/heads/master: 7715aad4ef5cccb318942a0c47aef8a39d6130d7
4 changes: 4 additions & 0 deletions trunk/drivers/spi/spi_bfin5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,10 @@ static int bfin_spi_setup(struct spi_device *spi)
}

/* translate common spi framework into our register */
if (spi->mode & ~(SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST)) {
dev_err(&spi->dev, "unsupported spi modes detected\n");
goto error;
}
if (spi->mode & SPI_CPOL)
chip->ctl_reg |= BIT_CTL_CPOL;
if (spi->mode & SPI_CPHA)
Expand Down

0 comments on commit 6ab7edc

Please sign in to comment.