iommu/rockchip: correct pm runtime when remove device
[firefly-linux-kernel-4.4.55.git] / drivers / iommu / rockchip-iommu.c
index ad914dd174439719617e6f9e92a345471d811b58..c4c2c54a6127992b12c4ff0a269cebeb2076736a 100644 (file)
@@ -1216,7 +1216,7 @@ static int rk_iommu_probe(struct platform_device *pdev)
 
 static int rk_iommu_remove(struct platform_device *pdev)
 {
-       pm_runtime_put(&pdev->dev);
+       pm_runtime_disable(&pdev->dev);
 
        return 0;
 }