Re: [PATCH v2] cpuidle: big.LITTLE: add of_node_put()
From: Rafael J. Wysocki
Date: Tue Nov 20 2018 - 11:06:26 EST
On Tue, Nov 20, 2018 at 4:46 PM Yangtao Li <tiny.windzz@xxxxxxxxx> wrote:
>
> The of_node_put() is missing.So we call the of_node_put() to release
> the refcount.
I would say "of_find_node_by_path() acquires a reference to the node
returned by it and that reference needs to be dropped by its caller.
bl_idle_init() doesn't do that, so fix it."
Thanks,
Rafael