lkml.org 
[lkml]   [2012]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] gpio-ich: Add missing spinlock init
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+]
---
Already sent on:
* 2012-09-06

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


\
 
 \ /
  Last update: 2012-12-16 21:41    [W:0.046 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site