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:
2f0253f
)
pinctrl: exynos: Fix wakeup IRQ domain registration check
author
Tomasz Figa
<t.figa@samsung.com>
Thu, 20 Sep 2012 22:34:07 +0000
(07:34 +0900)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Thu, 20 Sep 2012 22:34:07 +0000
(07:34 +0900)
Because of a typo, incorrect field of a structure was being checked.
This patch fixes the check to use correct field.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/pinctrl/pinctrl-exynos.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pinctrl/pinctrl-exynos.c
b/drivers/pinctrl/pinctrl-exynos.c
index 0d01d19edc9116bdeb45499ebfa41b1d39cbb1b8..21362f48d3700424244b2870cbfa0cb437af6f66 100644
(file)
--- a/
drivers/pinctrl/pinctrl-exynos.c
+++ b/
drivers/pinctrl/pinctrl-exynos.c
@@
-447,7
+447,7
@@
static int exynos_eint_wkup_init(struct samsung_pinctrl_drv_data *d)
d->wkup_irqd = irq_domain_add_linear(wkup_np, d->ctrl->nr_wint,
&exynos_wkup_irqd_ops, d);
- if (!d->
gpio
_irqd) {
+ if (!d->
wkup
_irqd) {
dev_err(dev, "wakeup irq domain allocation failed\n");
return -ENXIO;
}