summaryrefslogtreecommitdiff
path: root/certs/Makefile
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2022-06-12 18:04:00 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-18 16:56:25 +0300
commitdbacf752cde2c0e719ce97783b579a45a9730833 (patch)
tree4996990de883bb1352d33071ea95759a99fbefbf /certs/Makefile
parent76faa32077b0340382881b66ce6beaefd9d9da97 (diff)
downloadlinux-dbacf752cde2c0e719ce97783b579a45a9730833.tar.xz
iio:light:tsl2563: Replace cancel_delayed_work() with cancel_delayed_work_sync().
Since cancel_delayed_work(&chip->poweroff_work) does not guarantee that tsl2563_poweroff_work() is not running, tsl2563_set_power(chip, 0) can be called from tsl2563_poweroff_work() after tsl2563_get_power(chip) and tsl2563_set_power(chip, 1) are called. Use _sync version in order to make sure that tsl2563_poweroff_work() is no longer running. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Link: https://lore.kernel.org/r/041b6745-f784-ff3f-9836-3f4397d35d94@I-love.SAKURA.ne.jp Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'certs/Makefile')
0 files changed, 0 insertions, 0 deletions