Re: [PATCH v3 2/8] gpio: mockup: tweak gpio_mockup_event_write()

From: Linus Walleij
Date: Tue Jun 20 2017 - 03:13:25 EST


On Fri, Jun 9, 2017 at 1:41 PM, Bartosz Golaszewski <brgl@xxxxxxxx> wrote:

> Invert the logic of the irq_enabled check and only access the private
> data after the input is sanitized.
>
> Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>

Patch applied.

Yours,
Linus Walleij