Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 77a4d757 authored by Philipp Rosenberger's avatar Philipp Rosenberger Committed by Linus Walleij
Browse files

gpio: gpio-mxc: gpio_set_wake_irq() use proper return values



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: default avatarPhilipp Rosenberger <p.rosenberger@linutronix.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent dbd1dad2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment