OSDN Git Service

ASoC: SOF: using pm_runtime_resume_and_get to simplify the code
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 20 Apr 2022 03:03:15 +0000 (03:03 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Apr 2022 20:18:20 +0000 (21:18 +0100)
commitb3598fe6d009b2f2144115dfc381615c8b534aec
treeb0263cc49f923103e18934f3d9dbc9104f025625
parentfbae863de87bf50c7b13b40e3b4dc4b479335020
ASoC: SOF: using pm_runtime_resume_and_get to simplify the code

Using pm_runtime_resume_and_get() to replace pm_runtime_get_sync and
pm_runtime_put_noidle. This change is just to simplify the code, no
actual functional changes.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220420030315.2575691-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-client-probes.c