Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35143266rwd; Mon, 10 Jul 2023 03:16:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlF7NZg6c2XKQxzWO/9nZULVCZkHjyQq1dkHD773sAK7qapOFxVazm9M8BD1CjS9desPwEQB X-Received: by 2002:a17:90b:f85:b0:262:ffd2:ced with SMTP id ft5-20020a17090b0f8500b00262ffd20cedmr9444150pjb.0.1688984187977; Mon, 10 Jul 2023 03:16:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688984187; cv=none; d=google.com; s=arc-20160816; b=0VXK15vzAMi8Dw1W+n6/dDBxv8Ij02sqEg1cy1XLa/H/+9eE1LysnHrJ+td0ZWLKT+ Gr9/2Ap9oa3+tFggG+4SIKW0gp8MspN17m4DWeF9i3cMk4x8wiXhPUo7NZ2MGoKpg7RP gr4nslDZq+98Y2aVdhQGsws5gKCiEj0vhsP8B2xh1st7fk6LGIDeIgU7AFhvBHQqfy7x uDQIlxL+QVWG99L+SL/tbFSsGt9bNXElBHM0Upcf5UnjJA86fSo3gv21SkyPJtr7xDxm 0ukKDwQNylR7ydtvNZLE7g+dx4d8xbSdauFKi5yLY2N7zyk/TLDbkGQJ1FwYuKGzR73N MbMg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=inywc7Jiiid3fo8KkFaYwcFf/+qd0eM/tksFxdWQZjg=; fh=1AhaH3FpfHQJcoVQEkFKjM0lEq7HlwsmZE+jb63poeg=; b=WX6xhaotI1v1zL/E9ppb0j4MR1dImQcnwJI+CHYPvEhv+7fGTh3dn9g/ESGGiCySrf ogJxsSXdOg5ClUKpWTduPPi3lqOapkWW1AaYRbM8zE5W2b0Ho/ZSKwhgD4cFUAdXmRYj CjZ0Ev0BsHQi1Vy81ieojv6OdiYRDHnB5sqlZoWVi7p5wiH3wX3zulXLqmhAIr7nk/aZ q+4gqOglancmoPKPiTNkirCpPrkZ33F0f/8pS3lGmUB/0M2psEYvodYQfEGASUkq4Rca TamH1A6+2T646+P4o6HEKULzHDLgO3kAGni+QRRXQrBiXGJvXVMTl8nJVK/OhTWTresP vHog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hMyjk8BP; 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 d24-20020a17090ad3d800b00262f99a851asi7046996pjw.96.2023.07.10.03.16.15; Mon, 10 Jul 2023 03:16: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=hMyjk8BP; 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 S231320AbjGJJwO (ORCPT + 99 others); Mon, 10 Jul 2023 05:52:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229897AbjGJJvk (ORCPT ); Mon, 10 Jul 2023 05:51:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D07B183; Mon, 10 Jul 2023 02:48:10 -0700 (PDT) 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 DEB6760F35; Mon, 10 Jul 2023 09:48:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABEB5C433C8; Mon, 10 Jul 2023 09:48:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688982489; bh=PnEAbXpDkS/2DQfknA13T3c/Xhi5kSmvuGgopFlpfSs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hMyjk8BPbQPAZeekXCM9QGCSkOmYufC5Kz4eRl+JqNXld+HVoT3vIQmV6gQegS3xc Xf90C5kC8Z9/BPfe67aoRDY5IJSC4rMMsDrrpZH0+sRIo4TzLNu/km+NAXS/BNYy8d ah6ZlZqnmK8rnmjM/IRNEN0MFD1123nEhzbDEFmJT6fBRM7Mgx4DfD+x1/t1+Dw6Nn 8SjYXvpvMGtGT8n5+59votu043HaMFg/0P3ibfuq8IW+gTpsUDWu7ruvzunGs882Dt X7yY29/50WXR9C31E3zE8/sQFtZCq6tpcip9paUnZSF2WrZT3Gp5mmDu48HnO4w2pY nf5qH2vuO95yg== From: Robert Foss To: Jonas Karlman , Neil Armstrong , Laurent Pinchart , Jernej Skrabec , David Airlie , Christophe JAILLET , Andrzej Hajda , Daniel Vetter Cc: Robert Foss , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v3] drm/bridge: tc358767: Use devm_clk_get_enabled() helper Date: Mon, 10 Jul 2023 11:48:01 +0200 Message-ID: <168898247567.1224956.8670900854330995667.b4-ty@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <208a15ce4e01973daf039ad7bc0f9241f650b3af.1672415956.git.christophe.jaillet@wanadoo.fr> References: <208a15ce4e01973daf039ad7bc0f9241f650b3af.1672415956.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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 On Sat, 8 Jul 2023 08:05:35 +0200, Christophe JAILLET wrote: > The devm_clk_get_enabled() helper: > - calls devm_clk_get() > - calls clk_prepare_enable() and registers what is needed in order to > call clk_disable_unprepare() when needed, as a managed resource. > > This simplifies the code and avoids the need of a dedicated function used > with devm_add_action_or_reset(). > > [...] Applied, thanks! [1/1] drm/bridge: tc358767: Use devm_clk_get_enabled() helper https://cgit.freedesktop.org/drm/drm-misc/commit/?id=70d3c92d852f Rob