Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: William Breathitt Gray <vilhelm.gray@gmail.com>
To: Axel Lin <axel.lin@ingics.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Alexandre Courbot <gnurou@gmail.com>,
	linux-gpio@vger.kernel.org
Subject: Re: [PATCH] gpio: 104-idi-48: Fix missing spin_lock_init for ack_lock
Date: Mon, 13 Jun 2016 08:22:12 -0400	[thread overview]
Message-ID: <20160613122152.GA18880@sophia> (raw)
In-Reply-To: <1465796933.11725.1.camel@ingics.com>

On Mon, Jun 13, 2016 at 01:48:53PM +0800, Axel Lin wrote:
>Fixes: 9ae482104cb9 ("gpio: 104-idi-48: Clear pending interrupt once in IRQ handler")
>Signed-off-by: Axel Lin <axel.lin@ingics.com>
>---
> drivers/gpio/gpio-104-idi-48.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/gpio/gpio-104-idi-48.c b/drivers/gpio/gpio-104-idi-48.c
>index 6c75c83..2d2763e 100644
>--- a/drivers/gpio/gpio-104-idi-48.c
>+++ b/drivers/gpio/gpio-104-idi-48.c
>@@ -247,6 +247,7 @@ static int idi_48_probe(struct device *dev, unsigned int id)
> 	idi48gpio->irq = irq[id];
> 
> 	spin_lock_init(&idi48gpio->lock);
>+	spin_lock_init(&idi48gpio->ack_lock);
> 
> 	dev_set_drvdata(dev, idi48gpio);
> 
>-- 
>2.5.0

Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>

Thanks,

William Breathitt Gray

  reply	other threads:[~2016-06-13 12:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13  5:48 [PATCH] gpio: 104-idi-48: Fix missing spin_lock_init for ack_lock Axel Lin
2016-06-13 12:22 ` William Breathitt Gray [this message]
2016-06-13 12:48 ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160613122152.GA18880@sophia \
    --to=vilhelm.gray@gmail.com \
    --cc=axel.lin@ingics.com \
    --cc=gnurou@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox