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

Linus Walleij linus.walleij at linaro.org
Tue Jun 2 02:08:43 PDT 2015


On Wed, May 27, 2015 at 11:43 AM, Hongzhou Yang
<hongzhou.yang at mediatek.com> wrote:

> 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>

Patch applied with Axel's review tag.

Yours,
Linus Walleij



More information about the Linux-mediatek mailing list