]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: max8907: Remove IRQF_NO_AUTOEN flag
authorSergey Larin <cerg2010cerg2010@mail.ru>
Mon, 14 Jun 2021 22:24:20 +0000 (01:24 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 15 Jun 2021 12:18:58 +0000 (13:18 +0100)
commit48855a6423861ffc620fe31aa5c5da3b607c4f9a
tree5443a8f613b6812a5e0b73fec4888ebbf3b60594
parent885f1413767ba3cd564a9fd81789f81b31176cca
mfd: max8907: Remove IRQF_NO_AUTOEN flag

IRQF_NO_AUTOEN flag doesn't go well with IRQF_SHARED flag - the
check in request_threaded_irq fails and exits with EINVAL.

So we ignore the flag and enable it on the first IRQ request. No
interrupt should arrive from the chip as all interrupts are masked
by default.

Signed-off-by: Sergey Larin <cerg2010cerg2010@mail.ru>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8907.c