From: Sascha Hauer <s.hauer@pengutronix.de>
To: Michael Grzeschik <mgr@pengutronix.de>
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>, barebox@lists.infradead.org
Subject: Re: [PATCH] clk: clk_set_parent: skip any operation if current and new parents are equal
Date: Tue, 7 Oct 2025 13:50:28 +0200 [thread overview]
Message-ID: <aOT-hIK6m3Ib_wzX@pengutronix.de> (raw)
In-Reply-To: <aOQsLiIcSYgn0JmQ@pengutronix.de>
On Mon, Oct 06, 2025 at 10:53:02PM +0200, Michael Grzeschik wrote:
> On Mon, Oct 06, 2025 at 01:43:47PM +0200, Ahmad Fatoum wrote:
> > On 10/3/25 12:37 PM, Michael Grzeschik wrote:
> > > Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> >
> > While I agree this makes sense, I appreciate some background. Did you
> > run into problems? Or is it just something you noticed while reading the
> > code? A prime location for that background would be the empty commit
> > message ;)
>
> Yes this happend when using the video drivers. Somehow some drivers
> tried to reparent the video_pll to the same parent that it already had.
>
> clk: failed to reparent video_pll to osc_24m: -22
> clk: failed to reparent video_pll to osc_24m: -22
If it's the same parent it already has, why does it fail with -EINVAL
then?
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2025-10-07 11:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-03 10:37 Michael Grzeschik
2025-10-06 11:43 ` Ahmad Fatoum
2025-10-06 20:53 ` Michael Grzeschik
2025-10-07 11:50 ` Sascha Hauer [this message]
2025-10-07 11:57 ` Sascha Hauer
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=aOT-hIK6m3Ib_wzX@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=mgr@pengutronix.de \
/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