[ 3.5.y.z extended stable ] Patch "gpio/ich: Add missing spinlock init" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Thu Feb 28 11:59:51 UTC 2013

This is a note to let you know that I have just added a patch titled

    gpio/ich: Add missing spinlock init

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:


If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see



>From 513214f394a23028221ba157272b7e736a1d35c5 Mon Sep 17 00:00:00 2001
From: Jean Delvare <khali at linux-fr.org>
Date: Sun, 16 Dec 2012 21:31:40 +0100
Subject: [PATCH] gpio/ich: Add missing spinlock init

commit d39a948fef2446cfac3749bbfcfdd536335c3764 upstream.


Signed-off-by: Jean Delvare <khali at linux-fr.org>
Acked-by: Peter Tyser <ptyser at xes-inc.com>
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
 drivers/gpio/gpio-ich.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c
index b7c0651..230814d 100644
--- a/drivers/gpio/gpio-ich.c
+++ b/drivers/gpio/gpio-ich.c
@@ -328,6 +328,7 @@ static int __devinit 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);
 	if (!res_base || !res_base->start || !res_base->end)
 		return -ENODEV;

More information about the kernel-team mailing list