linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] iommu/arm-smmu-qcom: remove runtime pm enabling for TBU driver
@ 2024-07-30 10:30 Zhenhua Huang
  2024-08-12  9:18 ` Zhenhua Huang
  2024-08-12 13:25 ` Pranjal Shrivastava
  0 siblings, 2 replies; 8+ messages in thread
From: Zhenhua Huang @ 2024-07-30 10:30 UTC (permalink / raw)
  To: robdclark, will, robin.murphy, joro
  Cc: iommu, linux-arm-msm, linux-arm-kernel, linux-kernel,
	quic_c_gdjako, dmitry.baryshkov, Zhenhua Huang

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@quicinc.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;
 }
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-08-14  6:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30 10:30 [PATCH 1/1] iommu/arm-smmu-qcom: remove runtime pm enabling for TBU driver Zhenhua Huang
2024-08-12  9:18 ` Zhenhua Huang
2024-08-12 13:25 ` Pranjal Shrivastava
2024-08-13  2:37   ` Zhenhua Huang
2024-08-13  7:20     ` Pranjal Shrivastava
2024-08-13  7:56       ` Zhenhua Huang
2024-08-13 12:06         ` Georgi Djakov
2024-08-14  6:54           ` Zhenhua Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).