Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318253
b: refs/heads/master
c: 0564414
h: refs/heads/master
i:
  318251: d8068d9
v: v3
  • Loading branch information
Uwe Kleine-König authored and Mark Brown committed Jul 10, 2012
1 parent 490c2e2 commit 2068f87
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 619ac8d3e582ccd806f24dcfc369c4c250ca9814
refs/heads/master: 05644147064acabb8587c4cbd690047494f7b3a1
3 changes: 2 additions & 1 deletion trunk/drivers/spi/spi-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ static int spi_gpio_setup(struct spi_device *spi)
status = gpio_request(cs, dev_name(&spi->dev));
if (status)
return status;
status = gpio_direction_output(cs, spi->mode & SPI_CS_HIGH);
status = gpio_direction_output(cs,
!(spi->mode & SPI_CS_HIGH));
}
}
if (!status)
Expand Down

0 comments on commit 2068f87

Please sign in to comment.