From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D0A9ACED611 for ; Wed, 9 Oct 2024 23:08:46 +0000 (UTC) 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:Date:To:Cc:From:Subject: References:In-Reply-To:Content-Transfer-Encoding:MIME-Version:Content-Type: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TVqBbA4LJPgAz/Pby5EMBMLAeg4R/vxfOcMu54Ul3Jw=; b=bSfME2At9w0NZcAOfhptZsfe0t eaSZQN7FqS+kHI1XOcLeK5ksPSVMlpxz8pdGPdzzr/pplUFdqDHbBO4KxB4b9JTaJ8tEgOkP2MJYO Hm9SIPVKyhhTPgj+O2MrrNjuVDYcDjd3skKMCBz2gYgaWL0Mn94mSs7MYldmp3b834b1QS3aivyD1 NLeSOGT7eH9vloEN6KlXiqvgQlKwWAbe8i44sIpc12VvXlqQl9TWqcLbjcobpCCJ8LDclHQETeeBD /aPHHnm0hQEWnauusCV70BDHyVO1ZAD4knLPOQPCioLGex66dhiKpeE6UDCHgpTssuQdLxuwTtDYj rzVszHGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syfnI-0000000B0QZ-24J4; Wed, 09 Oct 2024 23:08:36 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syflx-0000000B0Ig-1s3o; Wed, 09 Oct 2024 23:07:15 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id A29FB5C5E3E; Wed, 9 Oct 2024 23:07:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71ECBC4CED7; Wed, 9 Oct 2024 23:07:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728515232; bh=TVqBbA4LJPgAz/Pby5EMBMLAeg4R/vxfOcMu54Ul3Jw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=JnkJyJNnPY+0ghfQZ4QJ9EvBtSftcoN4JE/D32wIgEh4d4rCtfVTwsEFav18Grcgd NcXQa0hSdOr2Qp8de9LL869NFm5qG3ta4pYQi+xtziEDirhSpkRiM6IANfKEHegLGp 0FZwBDap9uYdVbI4B8mqO6UQ4L0UwwWyoe0tQKnzHsCddFZC710f9jViOTaa5ND68r 9omC7QT5//79bpGqdcVsx4AYCYrTQOs/2m7Elpirpgi+xhs/1WWUjeyXJzOlDTpb8B rrDWE8e9Bv6VMDEczGWfeQQe7Q59sAMFSr62t/mHtxlexUA1uu4DaegcIVGdfJdOXn p3Srfap5Cg+fA== Message-ID: <8e205197e157cd8ca77b7315887e2932.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240912133204.29089-2-ziyao@disroot.org> References: <20240912133204.29089-2-ziyao@disroot.org> Subject: Re: [PATCH] clk: rockchip: fix finding of maximum clock ID From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Yao Zi To: Heiko Stuebner , Michael Turquette , Sebastian Reichel , Yao Zi Date: Wed, 09 Oct 2024 16:07:10 -0700 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_160713_544757_7F1F94D8 X-CRM114-Status: UNSURE ( 7.10 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Yao Zi (2024-09-12 06:32:05) > If an ID of a branch's child is greater than current maximum, we should > set new maximum to the child's ID, instead of its parent's. >=20 > Fixes: 2dc66a5ab2c6 ("clk: rockchip: rk3588: fix CLK_NR_CLKS usage") > Signed-off-by: Yao Zi > --- Applied to clk-fixes