Skip to content
Commit 184b69c5 authored by Sergey Larin's avatar Sergey Larin Committed by Lee Jones
Browse files

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: default avatarSergey Larin <cerg2010cerg2010@mail.ru>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent afb349c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment