Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1036723rwd; Sun, 14 May 2023 11:06:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4soa/bZlGkDy6rVy03XyNb3wNPSry6EFjTgNzJhoLZWgEuRth/Nigjc+sG40AGsPtA3Bhs X-Received: by 2002:a17:90a:5581:b0:24d:f159:d28b with SMTP id c1-20020a17090a558100b0024df159d28bmr30759989pji.47.1684087608431; Sun, 14 May 2023 11:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684087608; cv=none; d=google.com; s=arc-20160816; b=qOPyGmSP318gKrW3ugtNpOViOUdR+DGXIpEfduZKa1DBpu9iu+guJyxYA95pANFqCY FE/nNCCranit8H0Zpkc0vpMpS8mWiJsWnfB5Pzif8E6xlye+wWa1OcAZp08J+YuzLZ2a gVFfstdtQ5YAAsOoys5M7vy2DjYK8bvfAKEPw4tlNeFgf8SKRKbCS6apFnwQGBZprnKh 5Hux3oZpu1NcHf+w7UC9wkkjVKIrq2lJktz4ZRvipPmE7KeTnbR+nD9w7KX10vO/op1T yKs6bwC1rNRLbSJPbL/rjtg2+KmVLLxa/CS6fD8MYAS96F4ECcM5E6WkT5fMf0zHivyY DV2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=xi033eKdng5ERWgT/tnGc6YYXXe/3EZTk2SYNG5txxI=; b=gQndNANLD8LtZDGGJ5XW/ucdIOW5wEzSbYrPfLQr2Zg2WaA+Q54UrK5MhbpiJGlDQY yfegj9kPemUvM2S+qB8+reYlNLoluBxrGRn1IpDbGNDGN5bbv7FVjfuuV5Xlb9wR6nzM puOtDjZJgVOL7O8oNm08me9FkM810Rl6iJty3zOK4Fp2tugDQxcqWyhra2boqqusRxiV mgQ3M6nGqbv5CGRz3LPUulL43K5KQLdyJEeWVTjpULoKBk8w3Faijg8TMxY76PtLFBQ+ c7Twj7Y95X3NZZAWE/tXyybVcHTWgE846EwPSeYB7Y5gTmMMjb2VSDVCjeigDr2EUy6T VeGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=fgGneq8v; 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=xff.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ep23-20020a17090ae65700b0024de12511casi27245325pjb.56.2023.05.14.11.06.34; Sun, 14 May 2023 11:06:48 -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=@xff.cz header.s=mail header.b=fgGneq8v; 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=xff.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232252AbjENRLx (ORCPT + 99 others); Sun, 14 May 2023 13:11:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232283AbjENRLh (ORCPT ); Sun, 14 May 2023 13:11:37 -0400 Received: from vps.xff.cz (vps.xff.cz [195.181.215.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0E724C0A; Sun, 14 May 2023 10:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1684084240; bh=BgJR/kqppVUacidrLtYW5Ojg4kMiGFWqEAPq48YsoGI=; h=Date:From:To:Cc:Subject:X-My-GPG-KeyId:References:From; b=fgGneq8vVbULdCtbHBCWwh3qs4xxOHHpGtfGhZ6U+5D0IS7rIQAacacVJ0oqE68Ur P3lT4F3MrPvmeUchr2OEr0yrTQ4UFQ36NW+UtMbotRHHfF2sRDVbaLmfoH4YRO0h6J xzwyssXpBx+T3ObrewZo4iRbjz8kzNM0/ZEtBKTs= Date: Sun, 14 May 2023 19:10:39 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Christophe JAILLET Cc: Vasily Khoruzhick , Yangtao Li , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Philipp Zabel , Maxime Ripard , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH] thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe() Message-ID: Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Christophe JAILLET , Vasily Khoruzhick , Yangtao Li , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Philipp Zabel , Maxime Ripard , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED References: <26f9e3bb3fcd0c12ea24a44c75b7960da993b68b.1684077651.git.christophe.jaillet@wanadoo.fr> <9ae3f111-e13b-cdd7-317d-316585390952@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9ae3f111-e13b-cdd7-317d-316585390952@wanadoo.fr> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Sun, May 14, 2023 at 07:00:34PM +0200, Christophe JAILLET wrote: > > Le 14/05/2023 à 17:35, Ondřej Jirman a écrit : > > Hello Christophe, > > > > [...] > > > > This changes the recommeded order of reset release/clock enable steps, eg. A64 > > manual says: > > > > 3.3.6.4. Gating and reset > > > > Make sure that the reset signal has been released before the release of > > module clock gating; > > Ok, so moving reset_control_deassert() (and my proposed > devm_add_action_or_reset()) just after devm_reset_control_get() should keep > the expected order, right? That would be after reset_control_deassert(). devm_reset_control_get() is just resource management, like devm_clk_get(). regards, o.