[PATCH v2] mfd: mc13xxx: Set the irq type.
Fabio Estevam
festevam at gmail.com
Fri Dec 30 09:55:58 PST 2016
On Fri, Dec 30, 2016 at 1:43 PM, Magnus Lilja <lilja.magnus at gmail.com> wrote:
> Commit 10f9edaeaa30 ("mfd: mc13xxx: Use regmap irq framework for
> interrupts") removed the passing of the IRQF_TRIGGER_HIGH flag when
> registering the interrupt.
> This commit fixes that problem by setting the IRQF_TRIGGER_HIGH flag in
> case no irq type is set via irqd framework (e.g. device tree). In the
> latter case the irq flag from irqd is used.
>
> Tested on i.MX31 PDK hardware.
>
> Fixes: 10f9edaeaa30 ("mfd: mc13xxx: Use regmap irq framework for interrupts")
> Cc: <stable at vger.kernel.org> # 3.18.x
> Cc: Lee Jones <lee.jones at linaro.org>
> Signed-off-by: Magnus Lilja <lilja.magnus at gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>
More information about the linux-arm-kernel
mailing list