From: Joerg Roedel <joro@8bytes.org>
To: Zhang Heng <zhangheng@kylinos.cn>
Cc: robdclark@gmail.com, will@kernel.org, robin.murphy@arm.com,
iommu@lists.linux.dev, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iommu/msm: Use helper function devm_clk_get_prepared()
Date: Mon, 6 Jan 2025 12:41:23 +0100 [thread overview]
Message-ID: <Z3vBY7FtglzoRtjJ@8bytes.org> (raw)
In-Reply-To: <20250103113059.463033-1-zhangheng@kylinos.cn>
On Fri, Jan 03, 2025 at 07:30:59PM +0800, Zhang Heng wrote:
> Since commit 7ef9651e9792 ("clk: Provide new devm_clk helpers for prepared
> and enabled clocks"), devm_clk_get() and clk_prepare() can now be replaced
> by devm_clk_get_prepared() when driver prepares the clocks for the whole
> lifetime of the device. Moreover, it is no longer necessary to unprepare
> the clocks explicitly.
>
> Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
> ---
> drivers/iommu/msm_iommu.c | 51 +++++++++------------------------------
> 1 file changed, 11 insertions(+), 40 deletions(-)
Applied, thanks.
prev parent reply other threads:[~2025-01-06 11:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-03 11:30 [PATCH] iommu/msm: Use helper function devm_clk_get_prepared() Zhang Heng
2025-01-03 12:21 ` Dmitry Baryshkov
2025-01-06 11:41 ` Joerg Roedel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z3vBY7FtglzoRtjJ@8bytes.org \
--to=joro@8bytes.org \
--cc=iommu@lists.linux.dev \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robdclark@gmail.com \
--cc=robin.murphy@arm.com \
--cc=will@kernel.org \
--cc=zhangheng@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox