From: t.figa@samsung.com (Tomasz Figa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/6] pinctrl: exynos: Fix wakeup IRQ domain registration check
Date: Thu, 20 Sep 2012 16:53:33 +0200 [thread overview]
Message-ID: <2737662.uE6StcAj33@amdc1227> (raw)
In-Reply-To: <1348131104-24828-1-git-send-email-t.figa@samsung.com>
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>
---
drivers/pinctrl/pinctrl-exynos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-exynos.c b/drivers/pinctrl/pinctrl-exynos.c
index 0d01d19..21362f4 100644
--- 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;
}
--
1.7.12
next prev parent reply other threads:[~2012-09-20 14:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-20 8:51 [PATCH 0/6] pinctrl: samsung: Various fixes Tomasz Figa
2012-09-20 8:51 ` [PATCH 1/6] pinctrl: exynos: Set pin function to EINT in irq_set_type of GPIO EINTa Tomasz Figa
2012-09-20 8:51 ` [PATCH 2/6] pinctrl: exynos: Fix typos in gpio/wkup _irq_mask Tomasz Figa
2012-09-20 8:51 ` [PATCH 3/6] pinctrl: exynos: Handle only unmasked wakeup interrupts Tomasz Figa
2012-09-20 8:51 ` [PATCH 4/6] pinctrl: exynos: Mark exynos_irq_demux_eint as inline Tomasz Figa
2012-09-20 8:51 ` [PATCH 5/6] pinctrl: exynos: Correct the detection of wakeup-eint node Tomasz Figa
2012-09-20 8:51 ` [PATCH 6/6] pinctrl: samsung: Uninline samsung_pinctrl_get_soc_data Tomasz Figa
2012-09-20 10:25 ` [PATCH 0/6] pinctrl: samsung: Various fixes Linus Walleij
2012-09-20 14:29 ` Kukjin Kim
2012-09-20 14:55 ` Tomasz Figa
2012-09-20 22:13 ` Kukjin Kim
2012-09-20 14:53 ` Tomasz Figa [this message]
2012-09-24 19:57 ` [PATCH 7/6] pinctrl: exynos: Fix wakeup IRQ domain registration check Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2737662.uE6StcAj33@amdc1227 \
--to=t.figa@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).