mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
iommu/rockchip: correct pm runtime when remove device
Change-Id: Ib4d2e80c3fcbe614973fa5e6cb64b4d15c7db3e0 Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user