From: Stephen Boyd <sboyd@kernel.org>
To: linux-clk@vger.kernel.org, mturquette@baylibre.com, windhl@126.com
Subject: Re: [PATCH v2] clk: qoriq: Hold reference returned by of_get_parent()
Date: Fri, 19 Aug 2022 14:41:51 -0700 [thread overview]
Message-ID: <20220819214153.3138AC433C1@smtp.kernel.org> (raw)
In-Reply-To: <20220628143851.171299-1-windhl@126.com>
Quoting Liang He (2022-06-28 07:38:51)
> In legacy_init_clockgen(), we need to hold the reference returned
> by of_get_parent() and use it to call of_node_put() for refcount
> balance.
>
> Beside, in create_sysclk(), we need to call of_node_put() on 'sysclk'
> also for refcount balance.
>
> Fixes: 0dfc86b3173f ("clk: qoriq: Move chip-specific knowledge into driver")
> Signed-off-by: Liang He <windhl@126.com>
> ---
Applied to clk-next
prev parent reply other threads:[~2022-08-19 21:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-28 14:38 [PATCH v2] clk: qoriq: Hold reference returned by of_get_parent() Liang He
2022-08-19 21:41 ` Stephen Boyd [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220819214153.3138AC433C1@smtp.kernel.org \
--to=sboyd@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=windhl@126.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.