Skip to content

Commit 7f07a5c

Browse files
Sakari Ailusandersson
authored andcommitted
remoteproc: omap: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy(). Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Link: https://lore.kernel.org/r/20250704075445.3221481-1-sakari.ailus@linux.intel.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent c70b9d5 commit 7f07a5c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/remoteproc/omap_remoteproc.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,6 @@ static void omap_rproc_kick(struct rproc *rproc, int vqid)
555555
dev_err(dev, "failed to send mailbox message, status = %d\n",
556556
ret);
557557

558-
pm_runtime_mark_last_busy(dev);
559558
pm_runtime_put_autosuspend(dev);
560559
}
561560

@@ -656,7 +655,6 @@ static int omap_rproc_start(struct rproc *rproc)
656655
pm_runtime_use_autosuspend(dev);
657656
pm_runtime_get_noresume(dev);
658657
pm_runtime_enable(dev);
659-
pm_runtime_mark_last_busy(dev);
660658
pm_runtime_put_autosuspend(dev);
661659

662660
return 0;
@@ -714,7 +712,6 @@ static int omap_rproc_stop(struct rproc *rproc)
714712
reset_control_deassert(oproc->reset);
715713
out:
716714
/* schedule the next auto-suspend */
717-
pm_runtime_mark_last_busy(dev);
718715
pm_runtime_put_autosuspend(dev);
719716
return ret;
720717
}

0 commit comments

Comments
 (0)