git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
030bbdb
)
gpio: fix gpio leak in gpiochip_add error path
author
Johan Hovold
<johan@kernel.org>
Mon, 4 May 2015 15:23:25 +0000
(17:23 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 12 May 2015 08:56:28 +0000
(10:56 +0200)
Make sure to free any hogged gpios on errors in gpiochip_add.
Also move all forward declarations to the top of the file.
Fixes:
f625d4601759
("gpio: add GPIO hogging mechanism")
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
patch
|
blob
|
history
diff --cc
drivers/gpio/gpiolib.c
Simple merge