Re: [PATCH v2] cpuidle: big.LITTLE: add of_node_put()

From: Frank Lee
Date: Tue Nov 20 2018 - 11:09:22 EST


On Wed, Nov 21, 2018 at 12:06 AM Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
>
> 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
Hi Rafaelï

You are right, I will change it right away.

Yoursï
Yangtao