]> git.baikalelectronics.ru Git - kernel.git/commit
spmi: pmic-arb: revert "validate type when mapping IRQ"
authorBrian Masney <masneyb@onstation.org>
Fri, 8 Feb 2019 12:36:35 +0000 (07:36 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 9 Feb 2019 10:33:38 +0000 (11:33 +0100)
commit2b5842a1fbffc17bce6d0a24386edbd2622b880d
treeb0e2c99b7731b9d933ac17ef9d183052c3cd2a8e
parenta7e48cf4742e44de4a0bb1ec20d4203faf979f9a
spmi: pmic-arb: revert "validate type when mapping IRQ"

Validation of the IRQ type was added to spmi pmic-arb, however spmi-mpp
in device tree still uses IRQ_TYPE_NONE. This commit caused the
spmi-mpp probe to fail since platform_irq_count() would return 0.
Correct this by backing out the previous patch.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Fixes: b14fde27c96b ("spmi: pmic-arb: validate type when mapping IRQ")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/spmi/spmi-pmic-arb.c