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:
6ff33f3
)
gpio: mxc: need to check return value of irq_alloc_generic_chip
author
Peng Fan
<van.freenix@gmail.com>
Sun, 23 Aug 2015 13:11:52 +0000
(21:11 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 14 Sep 2015 07:12:02 +0000
(09:12 +0200)
Need to check return value of irq_alloc_generic_chip, because
it may return NULL.
1. Change mxc_gpio_init_gc return type from void to int.
2. Add a new lable out_irqdomain_remove to remove the irq domain
when mxc_gpio_init_gc fail.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Alexandre Courbot <gnurou@gmail.com>
[Manually rebased]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mxc.c
patch
|
blob
|
history
diff --cc
drivers/gpio/gpio-mxc.c
Simple merge