pm_runtime_put_autosuspend() will soon be changed to include a call to
pm_runtime_mark_last_busy(). This patch switches the current users to
__pm_runtime_put_autosuspend() which will continue to have the
functionality of old pm_runtime_put_autosuspend().

Signed-off-by: Sakari Ailus <[email protected]>
---
 drivers/remoteproc/omap_remoteproc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/remoteproc/omap_remoteproc.c 
b/drivers/remoteproc/omap_remoteproc.c
index 9ae2e831456d..e8f0e915ca3f 100644
--- a/drivers/remoteproc/omap_remoteproc.c
+++ b/drivers/remoteproc/omap_remoteproc.c
@@ -552,7 +552,7 @@ static void omap_rproc_kick(struct rproc *rproc, int vqid)
                        ret);
 
        pm_runtime_mark_last_busy(dev);
-       pm_runtime_put_autosuspend(dev);
+       __pm_runtime_put_autosuspend(dev);
 }
 
 /**
@@ -653,7 +653,7 @@ static int omap_rproc_start(struct rproc *rproc)
        pm_runtime_get_noresume(dev);
        pm_runtime_enable(dev);
        pm_runtime_mark_last_busy(dev);
-       pm_runtime_put_autosuspend(dev);
+       __pm_runtime_put_autosuspend(dev);
 
        return 0;
 
@@ -711,7 +711,7 @@ static int omap_rproc_stop(struct rproc *rproc)
 out:
        /* schedule the next auto-suspend */
        pm_runtime_mark_last_busy(dev);
-       pm_runtime_put_autosuspend(dev);
+       __pm_runtime_put_autosuspend(dev);
        return ret;
 }
 
-- 
2.39.5


Reply via email to