[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYAynEEz__2MvXQNxbg-HLJVX9kutJeZeYBU6Y4Ka_N4w@mail.gmail.com>
Date: Thu, 14 Mar 2013 09:01:25 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Magnus Damm <magnus.damm@...il.com>
Cc: linux-kernel@...r.kernel.org, grant.likely@...retlab.ca,
horms@...ge.net.au, linux-sh@...r.kernel.org
Subject: Re: [PATCH] gpio: Renesas R-Car GPIO driver
On Thu, Mar 14, 2013 at 5:07 AM, Magnus Damm <magnus.damm@...il.com> wrote:
> On Thu, Mar 14, 2013 at 2:20 AM, Linus Walleij <linus.walleij@...aro.org> wrote:
>> It is quite common to request IRQ on *both* rising and falling edges,
>> what happens then?
(...)
> I may be wrong, but the switch above does AND with IRQ_TYPE_SENSE_MASK
> which makes me believe that the BOTH case will result in -EINVAL.
Yes you're right, I wasn't quite following. The code only
allows for one distinct flag, fine!
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists