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

Submitted by Luis Henriques on Feb. 28, 2013, 11:59 a.m.


Message ID 1362052791-21424-1-git-send-email-luis.henriques@canonical.com
State New
Headers show

Commit Message

Luis Henriques Feb. 28, 2013, 11:59 a.m.
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@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@linux-fr.org>
Acked-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
 drivers/gpio/gpio-ich.c | 1 +
 1 file changed, 1 insertion(+)


Patch hide | download patch | download mbox

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;