Re: [PATCH 2/2] gpio: gpio-mxc: gpio_set_wake_irq() use proper return values

From: Linus Walleij
Date: Tue Aug 01 2017 - 04:39:22 EST

On Wed, Jul 12, 2017 at 10:36 AM, Philipp Rosenberger
<p.rosenberger@xxxxxxxxxxxxx> wrote:

> Errors from enable_irq_wake() in gpio_set_wake_irq() were silently ignored.
> Thus led to the problem that gpio_set_wake_irq() always returned
> successfully, even if enable_irq_wake() returned an error.
> Signed-off-by: Philipp Rosenberger <p.rosenberger@xxxxxxxxxxxxx>

Patch applied.

Linus Walleij