Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp1913285rdb; Sun, 27 Aug 2023 02:50:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHS1bhCcU1Y5HXn0QaJdhNDpzfaF7vlHC1mfIX61LdBp3Go9wp2zpmEvJ02e5+BX+EPLgz7 X-Received: by 2002:a19:5f54:0:b0:4ff:87f2:2236 with SMTP id a20-20020a195f54000000b004ff87f22236mr13397581lfj.37.1693129815810; Sun, 27 Aug 2023 02:50:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693129815; cv=none; d=google.com; s=arc-20160816; b=kMxLSFpTZMTn8lDEdinG1Aat9Xb7qASrMqv8dcMCvfz8hINHH8FpZ1FdwXgR0+UXSo WsZUEGX9r7p9zUhM1M6CI4Zfvu8RlfYrTZMsBVSk4Zj1pwWw+xbdvEQikjWJm1Z8bYKF itwBO+SgmBvU2vIOqI7gfR7NCvpyWyzlzzrsHxbgtS6R9c8nGVSqWVDOq1l+QN5TKSwe W+FlqYvTPx0ORYAPTyFL9y3e+tlgOV/e5jGTF5c3/funb5oQpMVbN3VNim8eTF0ND72N Vx8zcH/tOaaFCuZkxf8W105Du+vEvlaFJg1O0dMMGC5ZkXERZmCUPsgr/XMNlEFAFWM/ 2PmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=eq0x3iigUAjoi4D0w91pgHaAwqeD7R2OBa1kT6pnQ2g=; fh=uRtjX4tW/2u6hJ6MjD3hufbLT/8nXPchx+f+WmII/I4=; b=ffffnbn6uR2JRkZAy5Lw3WnVtcn1bdIWgek0cv0rEWgO1tYZ8oeL8Zd2YuE8sZMaRp 8i7zXsnzLMOcEHI3NgLgWWAR2sGysBv3tr/wTR5hNXP5WuhxmZ46Pmt1bdH8KkaKUXQD 53IKFCeM46VPj3mSee4cGpSdnMXvCGIlYbtbpub/aQhGn/pVWAghYgpki5ij0bcLoT5n IQ9WL06U9qizEtBfcHgob6sK5SA6ixL72QldY2KUWba3jQbS+J8vko+wqhrtw6KSzIig QSGtm9FVHHs+WZGVwwLurP/CLJsXClbsjUwi9ZwJUeCLjbnfoXx/st9FKrYsDR7h4PVl KH3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=fPSJLpbl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l3-20020a056402124300b005222c4ef218si3284072edw.298.2023.08.27.02.49.36; Sun, 27 Aug 2023 02:50:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=fPSJLpbl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230306AbjH0JiX (ORCPT + 99 others); Sun, 27 Aug 2023 05:38:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbjH0JiH (ORCPT ); Sun, 27 Aug 2023 05:38:07 -0400 Received: from smtp.smtpout.orange.fr (smtp-15.smtpout.orange.fr [80.12.242.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6406F9 for ; Sun, 27 Aug 2023 02:38:04 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id aCDYqs7H09KIfaCDYq3nVP; Sun, 27 Aug 2023 11:38:02 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1693129082; bh=eq0x3iigUAjoi4D0w91pgHaAwqeD7R2OBa1kT6pnQ2g=; h=From:To:Cc:Subject:Date; b=fPSJLpblS3Yu70HOrJviqaDMJByLb2CaOFA7ikx3WuTq//wD9+qnKhz82HFJn0p3q cRH42ggURSGiJFgCPN3cHzub8twAQf0PSwJJV0IdtCArAztC+PcxucbuqHGVxx8XeV cgS6ucw9aBDokf0CAqj444HQfdPYsUUYV77qg8OnjZ55cOOX2bCltPzLpfvtFFTC8m toq+Dgm/p/ZLl+uESmRH0LHFFkfPzDDgexDJoz3t8tDtfr8hVNuF7xXlSudcOSJz8F Qi8/OnpRKJfbjzoV3NSLloOqQUbvOiMrOn4Hoyynn4gtCNkn2x+9sFE6RnpM02mvGL 0zByFg+24Tumg== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 27 Aug 2023 11:38:02 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET To: abelvesa@kernel.org, peng.fan@nxp.com, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, shengjiu.wang@nxp.com Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 0/5] clk: imx: imx8: Fix some error handling paths Date: Sun, 27 Aug 2023 11:37:51 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This serie fix some error handling paths. It is split in different patches to ease review because the issues are unrelated and the proposed fixes are maybe wrong (I don't have the hardware to test anything) Patch 2 and 3 are more speculative than the 3 oher ones. Review with care. Finally, I got some problem when generating the serie, and some patches have been hand-modified afterwards. They look good to me, but I hope have not screwed up things... Christophe JAILLET (5): clk: imx: imx8: Fix an error handling path in clk_imx_acm_attach_pm_domains() clk: imx: imx8: Fix an error handling path if devm_clk_hw_register_mux_parent_data_table() fails clk: imx: imx8: Fix an error handling path in imx8_acm_clk_probe() clk: imx: imx8: Add a message in case of devm_clk_hw_register_mux_parent_data_table() error clk: imx: imx8: Simplify clk_imx_acm_detach_pm_domains() drivers/clk/imx/clk-imx8-acm.c | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) -- 2.34.1