From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts
Date: Thu, 01 Aug 2013 13:04:12 +0200 [thread overview]
Message-ID: <51FA40AC.8060900@free-electrons.com> (raw)
In-Reply-To: <1374331893-16009-1-git-send-email-b.brezillon@overkiz.com>
Hi,
On 20/07/2013 16:51, Boris BREZILLON wrote:
> The current implementation handle both edge and level interrupts with the
> 'handle_simple_irq' handler.
>
> Level interrupts are active as long as the pin stays at the configured
> level (low or high). In this case we have to use 'handle_level_irq' which
> mask the interrupt until the handle has treated it.
>
> Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
This solves the issue on my side.
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Boris BREZILLON <b.brezillon@overkiz.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
Linus Walleij <linus.walleij@linaro.org>,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Ludovic Desroches <ludovic.desroches@atmel.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts
Date: Thu, 01 Aug 2013 13:04:12 +0200 [thread overview]
Message-ID: <51FA40AC.8060900@free-electrons.com> (raw)
In-Reply-To: <1374331893-16009-1-git-send-email-b.brezillon@overkiz.com>
Hi,
On 20/07/2013 16:51, Boris BREZILLON wrote:
> The current implementation handle both edge and level interrupts with the
> 'handle_simple_irq' handler.
>
> Level interrupts are active as long as the pin stays at the configured
> level (low or high). In this case we have to use 'handle_level_irq' which
> mask the interrupt until the handle has treated it.
>
> Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
This solves the issue on my side.
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-08-01 11:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-20 14:51 [PATCH] pinctrl: at91: choose appropriate handler for level interrupts Boris BREZILLON
2013-07-20 14:51 ` Boris BREZILLON
2013-07-29 15:42 ` Linus Walleij
2013-07-29 15:42 ` Linus Walleij
2013-07-29 15:52 ` boris brezillon
2013-07-29 15:52 ` boris brezillon
2013-08-12 15:18 ` Nicolas Ferre
2013-08-12 15:18 ` Nicolas Ferre
2013-08-01 11:04 ` Alexandre Belloni [this message]
2013-08-01 11:04 ` Alexandre Belloni
2013-08-01 11:07 ` boris brezillon
2013-08-01 11:07 ` boris brezillon
2013-08-07 18:59 ` Linus Walleij
2013-08-07 18:59 ` Linus Walleij
2013-08-08 4:10 ` boris brezillon
2013-08-08 4:10 ` boris brezillon
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=51FA40AC.8060900@free-electrons.com \
--to=alexandre.belloni@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.