linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] gpio: xgene: Fix missing spin_lock_init()
@ 2014-09-21  4:31 Axel Lin
  2014-09-21  4:32 ` [PATCH 2/3] gpio: xgene: Remove unneeded forward declation for struct xgene_gpio Axel Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Axel Lin @ 2014-09-21  4:31 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Feng Kan, Alexandre Courbot, linux-gpio@vger.kernel.org

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/gpio/gpio-xgene.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c
index e25ba14..256c785 100644
--- a/drivers/gpio/gpio-xgene.c
+++ b/drivers/gpio/gpio-xgene.c
@@ -189,6 +189,7 @@ static int xgene_gpio_probe(struct platform_device *pdev)
 
 	gpio->chip.ngpio = XGENE_MAX_GPIOS;
 
+	spin_lock_init(&gpio->lock);
 	gpio->chip.dev = &pdev->dev;
 	gpio->chip.direction_input = xgene_gpio_dir_in;
 	gpio->chip.direction_output = xgene_gpio_dir_out;
-- 
1.9.1




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-24  9:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-21  4:31 [PATCH 1/3] gpio: xgene: Fix missing spin_lock_init() Axel Lin
2014-09-21  4:32 ` [PATCH 2/3] gpio: xgene: Remove unneeded forward declation for struct xgene_gpio Axel Lin
2014-09-24  9:02   ` Linus Walleij
2014-09-21  4:32 ` [PATCH 3/3] gpio: xgene: Remove unneeded #ifdef CONFIG_OF guard Axel Lin
2014-09-24  9:03   ` Linus Walleij
2014-09-24  9:01 ` [PATCH 1/3] gpio: xgene: Fix missing spin_lock_init() Linus Walleij

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).