aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorShang XiaoJing <[email protected]>2023-01-11 15:45:18 +0800
committerMatthias Brugger <[email protected]>2023-01-31 14:23:05 +0100
commit37fa2aff8fe490771f2229b0f2fcd15796b1bfca (patch)
tree42c1ca6f8bd074fe4f17b5f389095bacb574cb8e /lib/test-string_helpers.c
parentf4f8ad204a15d57c1a3e8ea7eca62157b44cbf59 (diff)
soc: mediatek: mtk-svs: Use pm_runtime_resume_and_get() in svs_init01()
svs_init01() calls pm_runtime_get_sync() and added fail path as svs_init01_finish to put usage_counter. However, pm_runtime_get_sync() will increment usage_counter even it failed. Fix it by replacing it with pm_runtime_resume_and_get() to keep usage counter balanced. Fixes: 681a02e95000 ("soc: mediatek: SVS: introduce MTK SVS engine") Signed-off-by: Shang XiaoJing <[email protected]> Signed-off-by: Roger Lu <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions