From: Brian Masney <bmasney@redhat.com>
To: Myeonghun Pak <mhun512@gmail.com>
Cc: Tero Kristo <kristo@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
linux-omap@vger.kernel.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org, Ijae Kim <ae878000@gmail.com>
Subject: Re: [PATCH] clk: ti: adpll: unregister OF clock provider on remove
Date: Mon, 6 Jul 2026 13:16:40 -0400 [thread overview]
Message-ID: <akvi-LCvVYYH2r6P@redhat.com> (raw)
In-Reply-To: <20260626094134.71961-1-mhun512@gmail.com>
On Fri, Jun 26, 2026 at 06:41:26PM +0900, Myeonghun Pak wrote:
> ti_adpll_probe() registers the driver's onecell clock provider with
> of_clk_add_provider(). The remove path only frees the clock resources,
> leaving the provider registered after the backing data has been torn
> down.
>
> Unregister the OF clock provider before freeing the ADPLL resources so
> the provider no longer points at released driver data after device
> removal.
>
> Fixes: 21330497f303 ("clk: ti: Add support for dm814x ADPLL")
> Co-developed-by: Ijae Kim <ae878000@gmail.com>
> Signed-off-by: Ijae Kim <ae878000@gmail.com>
> Signed-off-by: Myeonghun Pak <mhun512@gmail.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
prev parent reply other threads:[~2026-07-06 17:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-26 9:41 [PATCH] clk: ti: adpll: unregister OF clock provider on remove Myeonghun Pak
2026-07-06 17:16 ` Brian Masney [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=akvi-LCvVYYH2r6P@redhat.com \
--to=bmasney@redhat.com \
--cc=ae878000@gmail.com \
--cc=kristo@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mhun512@gmail.com \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox