]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: component: Remove redundant pm_runtime_mark_last_busy() calls
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 4 Jul 2025 07:54:58 +0000 (10:54 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 4 Jul 2025 18:28:21 +0000 (19:28 +0100)
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://patch.msgid.link/20250704075458.3222817-1-sakari.ailus@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-component.c

index 25f5e543ae8d37240522357fa242e7bc1c39c8b4..65c4950940244c0becd5901f3749ad98e61ca646 100644 (file)
@@ -1278,7 +1278,6 @@ void snd_soc_pcm_component_pm_runtime_put(struct snd_soc_pcm_runtime *rtd,
                if (rollback && !soc_component_mark_match(component, stream, pm))
                        continue;
 
-               pm_runtime_mark_last_busy(component->dev);
                pm_runtime_put_autosuspend(component->dev);
 
                /* remove marked stream */