Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336815
b: refs/heads/master
c: 529f2ad
h: refs/heads/master
i:
  336813: 1ed7432
  336811: f11d9c8
  336807: e96c5a6
  336799: f815129
v: v3
  • Loading branch information
Dan Carpenter authored and Linus Walleij committed Oct 26, 2012
1 parent b9057a8 commit 77fb1bd
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: 80b0a6029272247f19146bf8f88e5d4bba94cba5
refs/heads/master: 529f2ad5e374f61987a8312603963c61d75a890a
3 changes: 2 additions & 1 deletion trunk/drivers/gpio/gpiolib.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,8 @@ int gpio_export(unsigned gpio, bool direction_may_change)
__func__, gpio,
test_bit(FLAG_REQUESTED, &desc->flags),
test_bit(FLAG_EXPORT, &desc->flags));
return -EPERM;
status = -EPERM;
goto fail_unlock;
}

if (!desc->chip->direction_input || !desc->chip->direction_output)
Expand Down

0 comments on commit 77fb1bd

Please sign in to comment.