commit | 7e7c059cb50c7c72d5a393b2c34fc57de1b01b55 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Wed Jun 22 16:31:54 2016 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jun 23 11:06:58 2016 +0200 |
tree | f3eaefba111d62cf5fcac48f9c73058c8b5154e6 | |
parent | 33265b17e06e2d84900efebfa8620d2f5bfcc5de [diff] |
gpio: convince line to become input in irq helper The generic IRQ helper library just checks if the IRQ line is set as input before activating it for interrupts. As we recently started to check things better with .get_dir() it turns out that it's good to try to convince the line to become an input before attempting to lock it as IRQ. Reviewed-by: Björn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>