[PATCH] pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
Linus Walleij
linus.walleij at linaro.org
Mon Mar 14 17:21:52 PDT 2022
On Tue, Mar 8, 2022 at 8:12 AM Miaoqian Lin <linmq006 at gmail.com> wrote:
> The device_node pointer is returned by of_parse_phandle() with refcount
> incremented. We should use of_node_put() on it when done.
>
> Fixes: a6df410d420a ("pinctrl: mediatek: Add Pinctrl/GPIO driver for mt8135.")
> Signed-off-by: Miaoqian Lin <linmq006 at gmail.com>
Patch applied.
Yours,
Linus Walleij
More information about the Linux-mediatek
mailing list