Thread (7 messages) 7 messages, 3 authors, 2017-07-25

[PATCH v2] mfd: mc13xxx: Set the irq type.

From: festevam@gmail.com (Fabio Estevam)
Date: 2016-12-30 17:56:00
Also in: stable

On Fri, Dec 30, 2016 at 1:43 PM, Magnus Lilja [off-list ref] 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: <redacted> # 3.18.x
Cc: Lee Jones <redacted>
Signed-off-by: Magnus Lilja <redacted>
Reviewed-by: Fabio Estevam <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help