]> www.infradead.org Git - users/griffoul/linux.git/commitdiff
media: rkvdec: Remove redundant pm_runtime_mark_last_busy() calls
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 11 Aug 2025 15:00:19 +0000 (11:00 -0400)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 18 Aug 2025 07:55:05 +0000 (09:55 +0200)
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>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/rockchip/rkvdec/rkvdec.c

index 35265e321203612fbe2f71df3c58ab2f6be928ae..d3b31f461194fa567d724bb04d2016749b429ff8 100644 (file)
@@ -765,7 +765,6 @@ static void rkvdec_job_finish(struct rkvdec_ctx *ctx,
 {
        struct rkvdec_dev *rkvdec = ctx->dev;
 
-       pm_runtime_mark_last_busy(rkvdec->dev);
        pm_runtime_put_autosuspend(rkvdec->dev);
        rkvdec_job_finish_no_pm(ctx, result);
 }