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 76AABEB64D8 for ; Tue, 20 Jun 2023 18:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4v0QFuWumzT+YmwjSpNoE72k5K0Pum1rlbf0n3eqaEs=; b=owbq8tN+IaD4+z fA0hFEZURpBL0rRv+9tDCAzsH1/ia5J51Gz+76dr0KtsvRdIdqzlhEYHdOylFNk99tbLlnDr38X34 8GNPTsMi2vXh9oRIUue2cXETOMc8CaWLUgmubh/E++aePvXSdAQJWeGvBeGbe0I7qZYd2NY1jU2v6 dWtaN6Ccn717+s/hisWp4Zt1T4AJd2Ls9fk5vno+4MWHbY/BIZzQyXZeWzWVIdupZK6yBvXEkYxYQ zV7jtIEBWnBQyTouU4/0yC/jJaBg2XM2ikPvg9kOrZSBh5WgmpfSl9lgqoK0nUsNTAu/WweAMPhTI usYIwtVr1S1dsOirAp1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBgUt-00C6tz-2b; Tue, 20 Jun 2023 18:54:35 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBgUq-00C6t8-2n for linux-arm-kernel@lists.infradead.org; Tue, 20 Jun 2023 18:54:33 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5F05B6142C; Tue, 20 Jun 2023 18:54:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8DC4C433C8; Tue, 20 Jun 2023 18:54:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687287271; bh=WzI/gdfee49OMr+3Iqlqirbylnbk2GIsTPA78V9j4KE=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=EN3/IlAvIcwERObGMLcWlk3+qZcwh4dhZAFLgzXIoCm6QDpYwcZqceA/UBMVCcThQ MpUT8Zye4QVCMkXa+bJM0210lA27X24JYM49XupZcaocnh4x8ucJ7AztUk3q+q0COg wJtRMEIPPFuShzv10YbBEdhu/Yhn5wIZP0L9rFYXxLReGqIx6lrdO879lfSceZCOCU GWr/CUjWUZ/DDvbDhHYAQxjWtnbCKN45hUio1oj/KD5qxZyc2gBiXUtpcI6NpYLe96 sBAjGcyDy0GulLraRoDN4s1YIXDHTk9Sa82sQwKon3AB9Qa4eeEtP2JFmwockLNrdo j6MvFRfpHeCEA== Message-ID: MIME-Version: 1.0 In-Reply-To: <20230530093913.1656095-4-claudiu.beznea@microchip.com> References: <20230530093913.1656095-1-claudiu.beznea@microchip.com> <20230530093913.1656095-4-claudiu.beznea@microchip.com> Subject: Re: [PATCH 3/8] clk: si5341: return error if one synth clock registration fails From: Stephen Boyd Cc: aford173@gmail.com, mike.looijmans@topic.nl, robert.hancock@calian.com, shawn.guo@linaro.org, fabio.estevam@freescale.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Claudiu Beznea To: Claudiu Beznea , kristo@kernel.org, luca.ceresoli@bootlin.com, michal.simek@xilinx.com, mturquette@baylibre.com, nm@ti.com, ssantosh@kernel.org Date: Tue, 20 Jun 2023 11:54:28 -0700 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230620_115432_951009_D827B756 X-CRM114-Status: UNSURE ( 8.83 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Claudiu Beznea (2023-05-30 02:39:08) > In case devm_clk_hw_register() fails for one of synth clocks the probe > continues. Later on, when registering output clocks which have as parents > all the synth clocks, in case there is registration failure for at least > one synth clock the information passed to clk core for registering output > clock is not right: init.num_parents is fixed but init.parents may contain > an array with less parents. > > Fixes: 3044a860fd09 ("clk: Add Si5341/Si5340 driver") > Signed-off-by: Claudiu Beznea > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel