commit | 135ef21ab064dd9811b51d5fa225829011adb10c | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Sat Jan 19 15:42:51 2019 -0500 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jan 24 15:33:33 2019 +0100 |
tree | 52581e6acb8953d9de1cad6586e29bf1c7986d65 | |
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>