diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-06-22 16:31:54 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-23 11:06:58 +0200 |
commit | 7e7c059cb50c7c72d5a393b2c34fc57de1b01b55 (patch) | |
tree | f3eaefba111d62cf5fcac48f9c73058c8b5154e6 /drivers/gpio/gpio-cs5535.c | |
parent | gpiolib: make lineevent_irq_thread static (diff) | |
download | linux-7e7c059cb50c7c72d5a393b2c34fc57de1b01b55.tar.xz linux-7e7c059cb50c7c72d5a393b2c34fc57de1b01b55.zip |
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>
Diffstat (limited to 'drivers/gpio/gpio-cs5535.c')
0 files changed, 0 insertions, 0 deletions