[PATCH 2/2] pinctrl: mediatek: Fix pinctrl register irq fail bug.

Axel Lin axel.lin at ingics.com
Wed May 27 18:11:43 PDT 2015

2015-05-27 17:43 GMT+08:00 Hongzhou Yang <hongzhou.yang at mediatek.com>:
> Since mt6397 is no need to support interrupt controller,
> I judged "interrupt-controller" property to skip it last patch.
> But the if judgement should on the contrary, this is a bug.
> And find of_property_read_bool is better for this case.
> So using of_property_read_bool instead of of_find_property.
> Also fix bug of misuse pointer.
> Signed-off-by: Hongzhou Yang <hongzhou.yang at mediatek.com>
Reviewed-by: Axel Lin <axel.lin at ingics.com>

More information about the linux-arm-kernel mailing list