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:Zeal Robot <zealci@zte.com.cn> Signed-off-by:
Minghao Chi <chi.minghao@zte.com.cn> Signed-off-by:
Sebastian 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:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com> Conflicts: drivers/power/supply/bq24190_charger.c (cherry picked from commit 4f1d69bb)
Loading
Please sign in to comment