diff --git a/drivers/media/platform/apple/vxd/apple-vxd-core.c b/drivers/media/platform/apple/vxd/apple-vxd-core.c index 5ef77cd08f5668..8677d93337f569 100644 --- a/drivers/media/platform/apple/vxd/apple-vxd-core.c +++ b/drivers/media/platform/apple/vxd/apple-vxd-core.c @@ -32,7 +32,6 @@ static void vxd_job_return(struct apple_vxd_dev *vxd, struct vb2_v4l2_buffer *sr v4l2_m2m_buf_done(dst, state); v4l2_m2m_buf_done(src, state); - pm_runtime_mark_last_busy(vxd->dev); pm_runtime_put_autosuspend(vxd->dev); } @@ -343,7 +342,6 @@ static int apple_vxd_probe_hw(struct apple_vxd_dev *vxd) */ if ((id >> VXD_CORE_ID_MAJOR_SH) <= 6) { dev_err(vxd->dev, "MSVDX is unsupported (coreId %#x)\n", id); - pm_runtime_mark_last_busy(vxd->dev); pm_runtime_put_autosuspend(vxd->dev); return -ENODEV; } @@ -372,7 +370,6 @@ static int apple_vxd_probe_hw(struct apple_vxd_dev *vxd) vxd->mtx_mem_size, vxd->mmu_40bit, vxd->mmu_tiling_ctx, vxd->pipe_status); - pm_runtime_mark_last_busy(vxd->dev); pm_runtime_put_autosuspend(vxd->dev); return 0; } diff --git a/drivers/media/platform/apple/vxd/apple-vxd-v4l2.c b/drivers/media/platform/apple/vxd/apple-vxd-v4l2.c index cc0785a4488e93..38ab15aa46d7b9 100644 --- a/drivers/media/platform/apple/vxd/apple-vxd-v4l2.c +++ b/drivers/media/platform/apple/vxd/apple-vxd-v4l2.c @@ -842,7 +842,6 @@ static void apple_vxd_device_run(void *priv) wait_event_timeout(vxd->job_wq, (job = apple_vxd_job_reserve(ctx, run.src, run.dst)), HZ); if (!job) { - pm_runtime_mark_last_busy(vxd->dev); pm_runtime_put_autosuspend(vxd->dev); goto fail; }