Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115913
b: refs/heads/master
c: 978ccaa
h: refs/heads/master
i:
  115911: 94e571d
v: v3
  • Loading branch information
David Brownell authored and Linus Torvalds committed Oct 20, 2008
1 parent cb05871 commit 20f04e5
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: e3274e915061a65717454106301d4a5ea8f71783
refs/heads/master: 978ccaa8ea5d8c7bf6b676209f2fc126eae6355b
2 changes: 1 addition & 1 deletion trunk/drivers/gpio/gpiolib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ int gpio_get_value_cansleep(unsigned gpio)

might_sleep_if(extra_checks);
chip = gpio_to_chip(gpio);
return chip->get(chip, gpio - chip->base);
return chip->get ? chip->get(chip, gpio - chip->base) : 0;
}
EXPORT_SYMBOL_GPL(gpio_get_value_cansleep);

Expand Down

0 comments on commit 20f04e5

Please sign in to comment.