Re: [PATCH] gpio: Renesas R-Car GPIO driver

Linus Walleij
2013-03-14T08:01:27Z

On Thu, Mar 14, 2013 at 5:07 AM, Magnus Damm <magnus.damm@gmail.com> wrote:
> On Thu, Mar 14, 2013 at 2:20 AM, Linus Walleij <linus.walleij@linaro.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