]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
remoteproc: omap: Remove redundant pm_runtime_mark_last_busy() calls
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 4 Jul 2025 07:54:45 +0000 (10:54 +0300)
committerBjorn Andersson <andersson@kernel.org>
Wed, 26 Nov 2025 17:37:44 +0000 (11:37 -0600)
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>
drivers/remoteproc/omap_remoteproc.c

index 9c9e9c3cf378b00cf2720b77f69179fd4e6daaef..cb01354248afc0ad7713e09b544a0efeb470dfe8 100644 (file)
@@ -555,7 +555,6 @@ static void omap_rproc_kick(struct rproc *rproc, int vqid)
                dev_err(dev, "failed to send mailbox message, status = %d\n",
                        ret);
 
-       pm_runtime_mark_last_busy(dev);
        pm_runtime_put_autosuspend(dev);
 }
 
@@ -656,7 +655,6 @@ static int omap_rproc_start(struct rproc *rproc)
        pm_runtime_use_autosuspend(dev);
        pm_runtime_get_noresume(dev);
        pm_runtime_enable(dev);
-       pm_runtime_mark_last_busy(dev);
        pm_runtime_put_autosuspend(dev);
 
        return 0;
@@ -714,7 +712,6 @@ enable_device:
        reset_control_deassert(oproc->reset);
 out:
        /* schedule the next auto-suspend */
-       pm_runtime_mark_last_busy(dev);
        pm_runtime_put_autosuspend(dev);
        return ret;
 }