From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 07 Oct 2025 13:51:12 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v66Do-005Ee4-2w for lore@lore.pengutronix.de; Tue, 07 Oct 2025 13:51:12 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1v66Do-0000jW-CJ for lore@pengutronix.de; Tue, 07 Oct 2025 13:51:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=P2jNBCZFDBSnb5FXmNCUyRibgBz1X2m9pLi3QLEh9jw=; b=EEIJKMQwbKHNOzOY3Y2WlVFHi3 DfxbrI/Y/68Kf8Jo1hui7a31l/mdx7eaGZL2rrmpNSo3Q4LmJ0+rTlmCqFCY54U0duuR8+xEyi63g N+O1GDPhBrgecWOmYwCAsiGHav3fQAyZipdW1ocLIiR804Q2iGo4ni+O6eLEVT5qYSKTdNDHYQivV a04RS+krMXPLphkqAQHMMBE3YjAGp/DrYYng9uupFdI5f7b8VlPsNP/c25xwIorZIQd2gwHzy2Ulz SLtqKaCXGCA3cY48KXYQioQcu3vm5hGQ4PPBEumaI2ObjLK/PP0Rfxr5qJ/xTFtUeUbgGra3IFeJA jJEmYDbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v66DE-00000001vW7-28Qm; Tue, 07 Oct 2025 11:50:36 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v66D9-00000001vVl-2t6D for barebox@lists.infradead.org; Tue, 07 Oct 2025 11:50:34 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1v66D6-0000ds-Ij; Tue, 07 Oct 2025 13:50:28 +0200 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v66D6-002OTt-1H; Tue, 07 Oct 2025 13:50:28 +0200 Received: from sha by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1v66D6-000LJO-0u; Tue, 07 Oct 2025 13:50:28 +0200 Date: Tue, 7 Oct 2025 13:50:28 +0200 From: Sascha Hauer To: Michael Grzeschik Cc: Ahmad Fatoum , barebox@lists.infradead.org Message-ID: References: <20251003103720.2028460-1-m.grzeschik@pengutronix.de> <6efcc606-796d-4345-b587-41e0e67d1530@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251007_045031_798698_35BC0371 X-CRM114-Status: GOOD ( 18.16 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.3 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, SUBJECT_IN_BLACKLIST,SUBJECT_IN_BLOCKLIST autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH] clk: clk_set_parent: skip any operation if current and new parents are equal X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.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 > > > > 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 |