video: rockchip: mpp: fix av1d cannot suspend issue

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ifc38cf6f05b8abfe4867dfedbe708f2ecb61b7ed
This commit is contained in:
Yandong Lin
2022-03-18 16:06:43 +08:00
committed by Tao Huang
parent 5b8a719b6d
commit 457c8b8ba2

View File

@@ -1245,7 +1245,6 @@ static int av1dec_probe(struct platform_device *pdev)
av1dec_procfs_init(mpp);
mpp_dev_register_srv(mpp, mpp->srv);
dev_info(dev, "probing finish\n");
pm_runtime_get(mpp->dev);
return 0;
@@ -1263,7 +1262,6 @@ static int av1dec_remove(struct platform_device *pdev)
dev_info(dev, "remove device\n");
mpp_dev_remove(&dec->mpp);
av1dec_procfs_remove(&dec->mpp);
pm_runtime_put(dec->mpp.dev);
return 0;
}