Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1045631iog; Wed, 15 Jun 2022 19:23:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sVqv+hIG47APaDY0gHCbe7j12tCkhlvr0/qlg6KCtD9LGTn9uVcZkfJO97CG4G6L92zfHB X-Received: by 2002:a17:90b:18b:b0:1ea:79c7:d6fe with SMTP id t11-20020a17090b018b00b001ea79c7d6femr13409378pjs.214.1655346207852; Wed, 15 Jun 2022 19:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655346207; cv=none; d=google.com; s=arc-20160816; b=VTV7uMq5M8Rcouz4OOfB0dJt58qVxTEPDzxa8iAniIYh5XN0FakXaT0GL/MFGD6PMM dlSIAoORu64bRh6j3sjcZyD5E6qAb1NhcskzOurVqvmSeXak+myAMiQcHOoyYI79oeJI GpMEB0fg59alKqCgY8ohoYHiRHzcpAKOt3z7bPCqtFu56mUgIVq6MDut4O5b7X0tlLEU zVUfI7ICQcBEzNr9fq5BZD8Hs9/8Ur/Ye32wPSxthc49frz10Ko+sjNfYtkYfsQjluCp ly38S2dsZfPBznH2vUY9G70DozyfQ8MGqloa5KaXpejW5kjmAeuwecLpXDWmn0x77Pyi yDLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=4U5Lj/b/Nnw+5T77ExxngXXDFdxOraiwkpEje5p7KTU=; b=kKq7EorCvBBvaFBYZhnCMlC1kK66R+6BhRMPFw+05q1imKjiWEMJhxPb6hu/QqlrRH avwmfhkRwA+b7FiJ7DAYgPmmdz+BpNOkCg1bwQ1nEqthKijcZs6jKdW5XVCnhVGt5yOg 8w5jpmiWScFsMtSJKCf4/MabJGL1od0vMzADEyE9v8H4N2jH/YYa+Z1SPzeZaUxUTqKH br10UX1TLf1oUHqoJR+T9rAJ7VUn/QVZzcnTuDD+954xouz/BzsjJCMbsX2eRojBK/th vItD8VUtzl16Jh8dZeWssNJphyMBWi9Rnx2eNGl/hE9DY3oiYaZ37Y0eOh2x/pqzXc42 KYTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CtlotVeT; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g15-20020a056a001a0f00b0051beefce3cbsi1253154pfv.63.2022.06.15.19.23.02; Wed, 15 Jun 2022 19:23:27 -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=@kernel.org header.s=k20201202 header.b=CtlotVeT; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350033AbiFPBvd (ORCPT + 99 others); Wed, 15 Jun 2022 21:51:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350198AbiFPBvB (ORCPT ); Wed, 15 Jun 2022 21:51:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 010BD58388; Wed, 15 Jun 2022 18:51:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9110F61CC7; Thu, 16 Jun 2022 01:51:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E68FAC3411A; Thu, 16 Jun 2022 01:50:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655344260; bh=4U5Lj/b/Nnw+5T77ExxngXXDFdxOraiwkpEje5p7KTU=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=CtlotVeT91CLGG4UkX+Gnwkhe1AIRE5ubXXYSpecAlUEGQ9SjZEYZkLGdSRbGVCOT 3aycrxRrgAOHgxXIIGInEqijPmvJbuO/48ZDkce4qnhNa6xDRMHE9dXK7tE9K44hnT 1fikloK8vPgcZGR272scLnjvK1VgD5weJnl3dMAiWYoq4bDo1a0hDX5sMocq1ziii9 1gngOsjsyJWA3oK0QTl9Gjmddil6Ifg3q0zRgosDN7RWI/KcsyBicEb93h3na61Apo TXKLyloEB8iIWnLKPXq6M+uQEmKH5vDZgur33S4m0Ac+NCLTBfCDU/gVj2AK663mou YBwWyta05xgkQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220523093346.28493-5-rex-bc.chen@mediatek.com> References: <20220523093346.28493-1-rex-bc.chen@mediatek.com> <20220523093346.28493-5-rex-bc.chen@mediatek.com> Subject: Re: [RESEND v8 04/19] clk: mediatek: reset: Extract common drivers to update function From: Stephen Boyd Cc: p.zabel@pengutronix.de, angelogioacchino.delregno@collabora.com, nfraprado@collabora.com, chun-jie.chen@mediatek.com, wenst@chromium.org, runyang.chen@mediatek.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Rex-BC Chen To: Rex-BC Chen , krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, mturquette@baylibre.com, robh+dt@kernel.org Date: Wed, 15 Jun 2022 18:50:56 -0700 User-Agent: alot/0.10 Message-Id: <20220616015059.E68FAC3411A@smtp.kernel.org> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Quoting Rex-BC Chen (2022-05-23 02:33:31) > To make drivers more clear and readable, we extract common code > within assert and deassert to mtk_reset_update_set_clr() and > mtk_reset_update(). >=20 > Signed-off-by: Rex-BC Chen > Reviewed-by: AngeloGioacchino Del Regno > Reviewed-by: N=C3=ADcolas F. R. A. Prado > Tested-by: N=C3=ADcolas F. R. A. Prado > --- Applied to clk-next