Skip to content
Commit 3196a605 authored by Minghao Chi's avatar Minghao Chi Committed by Stephen Boyd
Browse files

clk: using pm_runtime_resume_and_get instead of pm_runtime_get_sync



Using pm_runtime_resume_and_get is more appropriate
for simplifing code

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarMinghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220418110455.2559264-1-chi.minghao@zte.com.cn
[sboyd@kernel.org: Drop local ret variable too]
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent bab79506
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment