From: Jean Delvare <khali@linux-fr.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Peter Tyser <ptyser@xes-inc.com>,
Grant Likely <grant.likely@secretlab.ca>,
Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH] gpio-ich: Add missing spinlock init
Date: Thu, 6 Sep 2012 09:38:47 +0200 [thread overview]
Message-ID: <20120906093847.3a034c1f@endymion.delvare> (raw)
As reported by CONFIG_DEBUG_SPINLOCK=y.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org [v3.5+]
---
drivers/gpio/gpio-ich.c | 1 +
1 file changed, 1 insertion(+)
--- linux-3.6-rc4.orig/drivers/gpio/gpio-ich.c 2012-09-04 13:34:03.000000000 +0200
+++ linux-3.6-rc4/drivers/gpio/gpio-ich.c 2012-09-06 08:08:57.571210424 +0200
@@ -390,6 +390,7 @@ static int __devinit ichx_gpio_probe(str
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,
--
Jean Delvare
next reply other threads:[~2012-09-06 7:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-06 7:38 Jean Delvare [this message]
2012-12-16 20:31 [PATCH] gpio-ich: Add missing spinlock init Jean Delvare
2012-12-19 15:51 ` Peter Tyser
2012-12-19 22:13 ` Grant Likely
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=20120906093847.3a034c1f@endymion.delvare \
--to=khali@linux-fr.org \
--cc=grant.likely@secretlab.ca \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ptyser@xes-inc.com \
/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).