Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223508
b: refs/heads/master
c: e254811
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Linus Torvalds committed Dec 23, 2010
1 parent 7fe0c2c commit d7636d1
Show file tree
Hide file tree
Showing 2 changed files with 4 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: d153ba64450b9371158c6516d6cac120faace44c
refs/heads/master: e254811c205ec539b648cff54a7852ee8dcd2e5e
3 changes: 3 additions & 0 deletions trunk/drivers/gpio/gpiolib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,9 @@ int gpio_request_one(unsigned gpio, unsigned long flags, const char *label)
err = gpio_direction_output(gpio,
(flags & GPIOF_INIT_HIGH) ? 1 : 0);

if (err)
gpio_free(gpio);

return err;
}
EXPORT_SYMBOL_GPL(gpio_request_one);
Expand Down

0 comments on commit d7636d1

Please sign in to comment.