gpio-ich: Add missing spinlock init
Subsystems (3)
PATCH 1/1 gpio-ich: Add missing spinlock init
As reported by CONFIG_DEBUG_SPINLOCK=y.
Signed-off-by Jean Delvare <[email protected]>
Cc Peter Tyser <[email protected]>
Cc Grant Likely <[email protected]>
Cc Linus Walleij <[email protected]>
Cc [email protected] [v3.5+]
---
Already sent on:
* 2012-09-06
drivers/gpio/gpio-ich.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/gpio-ich.c +1 -0
@@ -390,6 +390,7 @@ static int __devinit ichx_gpio_probe(strreturn -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,
Signature · 1 line
Jean Delvare
Quoted 8 lines · Jean Delvare
As reported by
CONFIG_DEBUG_SPINLOCK=y.Signed-off-by Jean Delvare <[email protected]>Cc Peter Tyser <[email protected]>Cc Grant Likely <[email protected]>Cc Linus Walleij <[email protected]>Cc [email protected] [v3.5+]---
Acked-by Peter Tyser <[email protected]>
Grant Likely
AppliedQuoted 12 lines · Peter Tyser
Quoted 8 lines · Jean Delvare
As reported by
CONFIG_DEBUG_SPINLOCK=y.Signed-off-by Jean Delvare <[email protected]>Cc Peter Tyser <[email protected]>Cc Grant Likely <[email protected]>Cc Linus Walleij <[email protected]>Cc [email protected] [v3.5+]---
Acked-by Peter Tyser <[email protected]>
Applied, thanks.
g.
Signature · 2 lines
Grant Likely, B.Sc, P.Eng. Secret Lab Technologies, Ltd.