projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
752451f
)
gpio/ich: Add missing spinlock init
author
Jean Delvare
<khali@linux-fr.org>
Sun, 16 Dec 2012 20:31:40 +0000
(21:31 +0100)
committer
Grant Likely
<grant.likely@secretlab.ca>
Wed, 19 Dec 2012 22:13:08 +0000
(22:13 +0000)
As reported by CONFIG_DEBUG_SPINLOCK=y.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-ich.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-ich.c
b/drivers/gpio/gpio-ich.c
index 6cc87ac8e0192d4596fed24c3efea7663f332898..6f2306db85915eca2690895eda7e8f6b375091ab 100644
(file)
--- a/
drivers/gpio/gpio-ich.c
+++ b/
drivers/gpio/gpio-ich.c
@@
-390,6
+390,7
@@
static int ichx_gpio_probe(struct platform_device *pdev)
return -ENODEV;
}
+ spin_lock_init(&ichx_priv.lock);
res_base = platform_get_resource(pdev, IORESOURCE_IO, ICH_RES_GPIO);
ichx_priv.use_gpio = ich_info->use_gpio;
err = ichx_gpio_request_regions(res_base, pdev->name,