summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/mc13783-regulator.c
diff options
context:
space:
mode:
authorErez Shitrit <erezsh@mellanox.com>2017-07-12 09:40:25 +0200
committerLeon Romanovsky <leon@kernel.org>2017-07-23 08:45:11 +0200
commit6bdc8de2e86e717124a715ecc480892a2c331ff5 (patch)
treee5e845fac6d7fa870454577ec452267a66e2bae7 /drivers/regulator/mc13783-regulator.c
parentIB/ipoib: Fix race between light events and interface restart (diff)
downloadlinux-6bdc8de2e86e717124a715ecc480892a2c331ff5.tar.xz
linux-6bdc8de2e86e717124a715ecc480892a2c331ff5.zip
IB/ipoib: Use cancel_delayed_work_sync when needed
The work mcast_task can re-queue itself, so instead of doing cancel && flush_workqueue, that still can leave a queued task on the air, use cancel_delayed_work_sync. Also, no need to use lock over the cancel, the original lock was due to bit assignment setting (IPOIB_MCAST_RUN) that is not in use anymore. Signed-off-by: Erez Shitrit <erezsh@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/regulator/mc13783-regulator.c')
0 files changed, 0 insertions, 0 deletions