Thread (7 messages) 7 messages, 3 authors, 2015-06-02

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

From: Axel Lin <hidden>
Date: 2015-05-28 01:11:53
Also in: linux-gpio, linux-mediatek, lkml

2015-05-27 17:43 GMT+08:00 Hongzhou Yang [off-list ref]:
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 <redacted>
Reviewed-by: Axel Lin <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