Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131506
b: refs/heads/master
c: be50344
h: refs/heads/master
v: v3
  • Loading branch information
Michael Buesch authored and Linus Torvalds committed Feb 18, 2009
1 parent 82aa3df commit a7506d4
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: 97bef7dd05563807539122c488a5dd93ed327722
refs/heads/master: be50344e604f956891fc0013f1ba78823a758124
2 changes: 1 addition & 1 deletion trunk/drivers/spi/spi_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static inline void setmosi(const struct spi_device *spi, int is_on)

static inline int getmiso(const struct spi_device *spi)
{
return gpio_get_value(SPI_MISO_GPIO);
return !!gpio_get_value(SPI_MISO_GPIO);
}

#undef pdata
Expand Down

0 comments on commit a7506d4

Please sign in to comment.