Messages in this thread | | | Date | Thu, 14 Mar 2013 09:01:25 +0100 | Subject | Re: [PATCH] gpio: Renesas R-Car GPIO driver | From | Linus Walleij <> |
| |
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
| |