projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0397375
)
gpio: xgene: Fix missing spin_lock_init()
author
Axel Lin
<axel.lin@ingics.com>
Sun, 21 Sep 2014 04:31:29 +0000
(12:31 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 24 Sep 2014 09:00:54 +0000
(11:00 +0200)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-xgene.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-xgene.c
b/drivers/gpio/gpio-xgene.c
index 150e7f1c5ae85d95efe4924b864ea80219b780d6..35104fd06bb93e915aa47789cfca5f1f8c039c90 100644
(file)
--- a/
drivers/gpio/gpio-xgene.c
+++ b/
drivers/gpio/gpio-xgene.c
@@
-189,6
+189,7
@@
static int xgene_gpio_probe(struct platform_device *pdev)
gpio->chip.ngpio = XGENE_MAX_GPIOS;
+ spin_lock_init(&gpio->lock);
gpio->chip.dev = &pdev->dev;
gpio->chip.direction_input = xgene_gpio_dir_in;
gpio->chip.direction_output = xgene_gpio_dir_out;