diff options
author | Brian Masney <masneyb@onstation.org> | 2019-01-19 15:42:51 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-01-24 15:33:33 +0100 |
commit | 135ef21ab064dd9811b51d5fa225829011adb10c (patch) | |
tree | 52581e6acb8953d9de1cad6586e29bf1c7986d65 /drivers/spmi/spmi.c | |
parent | f14a5e6da4a50e78a18384faf81eef6171909d3f (diff) |
spmi: pmic-arb: validate type when mapping IRQ
qpnpint_irq_domain_map did not validate the IRQ type and this can cause
IRQs to not work as expected if an unsupported type (such as
IRQ_TYPE_NONE) is passed in. Now that spmi-gpio is a hierarchical IRQ
controller, and all device tree bindings have been updated, add
additional validation to the type field.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/spmi/spmi.c')
0 files changed, 0 insertions, 0 deletions