Commit 18359b8e authored by Minghao Chi's avatar Minghao Chi Committed by Greg Kroah-Hartman
Browse files

power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync



[ Upstream commit d96a8940 ]

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>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Stable-dep-of: 47c29d69 ("power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1fde5782
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment