[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f2b4555e-5c31-45a2-a6d0-da2689748c41@quicinc.com>
Date: Mon, 12 Aug 2024 17:18:01 +0800
From: Zhenhua Huang <quic_zhenhuah@...cinc.com>
To: <robdclark@...il.com>, <will@...nel.org>, <robin.murphy@....com>,
<joro@...tes.org>
CC: <iommu@...ts.linux.dev>, <linux-arm-msm@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<quic_c_gdjako@...cinc.com>, <dmitry.baryshkov@...aro.org>
Subject: Re: [PATCH 1/1] iommu/arm-smmu-qcom: remove runtime pm enabling for
TBU driver
Gentle reminder for review :)
On 2024/7/30 18:30, Zhenhua Huang wrote:
> TBU driver has no runtime pm support now, adding pm_runtime_enable()
> seems to be useless. Remove it.
>
> Signed-off-by: Zhenhua Huang <quic_zhenhuah@...cinc.com>
> ---
> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> index 36c6b36ad4ff..aff2fe1fda13 100644
> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> @@ -566,7 +566,6 @@ static struct acpi_platform_list qcom_acpi_platlist[] = {
>
> static int qcom_smmu_tbu_probe(struct platform_device *pdev)
> {
> - struct device *dev = &pdev->dev;
> int ret;
>
> if (IS_ENABLED(CONFIG_ARM_SMMU_QCOM_DEBUG)) {
> @@ -575,11 +574,6 @@ static int qcom_smmu_tbu_probe(struct platform_device *pdev)
> return ret;
> }
>
> - if (dev->pm_domain) {
> - pm_runtime_set_active(dev);
> - pm_runtime_enable(dev);
> - }
> -
> return 0;
> }
>
Powered by blists - more mailing lists