Commit 451e1044 authored by Hans de Goede's avatar Hans de Goede Committed by sanglipeng
Browse files

power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()

stable inclusion
from stable-v5.10.185
commit b2856c3cd3b233df5615dab731a87d63ae5e4072
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8J4KH

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



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

[ Upstream commit 59dddea9 ]

Use mod_delayed_work() instead of separate cancel_delayed_work_sync() +
schedule_delayed_work() calls.

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 22960407
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment