commit | 77a4d757195fcf40f5cc0eaa1b6f5eb9a4d23851 | [log] [tgz] |
---|---|---|
author | Philipp Rosenberger <p.rosenberger@linutronix.de> | Wed Jul 12 10:36:40 2017 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Aug 14 15:01:12 2017 +0200 |
tree | 1c89ea6639180e8fdaaefa672b55536561ea3489 | |
parent | dbd1dad2ab8ffca57e0aa386df0d7ec621c26ca8 [diff] |
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: Philipp Rosenberger <p.rosenberger@linutronix.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>