Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211245
b: refs/heads/master
c: 23699f9
h: refs/heads/master
i:
  211243: 481eb38
v: v3
  • Loading branch information
Roel Kluin authored and Grant Likely committed Oct 3, 2010
1 parent c81c77c commit cf53be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 37880c909c6a22674d3c0f83f2737264b4e60fe1
refs/heads/master: 23699f98f84f20195fddd0263d05a8ccb8694676
2 changes: 1 addition & 1 deletion trunk/drivers/spi/spi_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ static int __init spi_gpio_probe(struct platform_device *pdev)
spi_gpio->bitbang.master = spi_master_get(master);
spi_gpio->bitbang.chipselect = spi_gpio_chipselect;

if ((master_flags & (SPI_MASTER_NO_RX | SPI_MASTER_NO_RX)) == 0) {
if ((master_flags & (SPI_MASTER_NO_TX | SPI_MASTER_NO_RX)) == 0) {
spi_gpio->bitbang.txrx_word[SPI_MODE_0] = spi_gpio_txrx_word_mode0;
spi_gpio->bitbang.txrx_word[SPI_MODE_1] = spi_gpio_txrx_word_mode1;
spi_gpio->bitbang.txrx_word[SPI_MODE_2] = spi_gpio_txrx_word_mode2;
Expand Down

0 comments on commit cf53be4

Please sign in to comment.