diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-01-07 12:23:48 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-02-08 14:25:33 +0100 |
commit | 40f6e5a2b52eda7864b7167fb5af1c310b464766 (patch) | |
tree | 5bd5c4686542d35229ed07c89db35b9d983cc7e3 /drivers/extcon/extcon-max8997.c | |
parent | e2ddf46ab4ab40a657a1808cf4e358c46ae1ba68 (diff) |
mfd: ab8500: provide a irq_set_type() function
In the AB8500 IRQ mask and unmask functions, we rely on testing for
IRQ_TYPE_EDGE_RISING and IRQ_TYPE_EDGE_FALLING interrupts to
physically mask and unmask the correct interrupt lines. In order
for us to do that, the trigger needs to be set in the associated
flags. However, unless a irq_set_type() function pointer is passed
when registering the IRQ chip, the IRQ subsystem will refuse to do
it. For that reason, we're providing one.
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/extcon/extcon-max8997.c')
0 files changed, 0 insertions, 0 deletions