Commit 4f1d69bb authored by Minghao Chi's avatar Minghao Chi Committed by sanglipeng
Browse files

power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

stable inclusion
from stable-v5.10.177
commit 18359b8e30c4f190398ae2bf41c9f07c78e4367a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=18359b8e30c4f190398ae2bf41c9f07c78e4367a



--------------------------------

[ 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>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>

Conflicts:
	drivers/power/supply/bq24190_charger.c
parent 85ae5e7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment