summaryrefslogtreecommitdiffstats
path: root/fs/befs
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-09-03 12:41:21 +0200
committerTakashi Iwai <tiwai@suse.de>2020-09-09 18:32:37 +0200
commit68f86a905e2c1d7a6d5d0bcc57f4e44ae204c171 (patch)
treeea76de449bc5f6d84b6c8284d4deb6257237c59b /fs/befs
parent9ddb236f13594b34a12dacf69a5adca7a1aef35e (diff)
downloadlinux-stable-68f86a905e2c1d7a6d5d0bcc57f4e44ae204c171.tar.gz
linux-stable-68f86a905e2c1d7a6d5d0bcc57f4e44ae204c171.tar.bz2
linux-stable-68f86a905e2c1d7a6d5d0bcc57f4e44ae204c171.zip
ALSA: pcsp: Replace tasklet with work
The tasklet is an old API that should be deprecated, usually can be converted to another decent API. This patch replaces the usage of tasklet in pcsp driver with a simple work. In pcsp driver, a global tasklet is used for offloading the period-elapse handling in the hrtimer callback (introduced in commit 96c7d478efad "ALSA: pcsp - Fix locking messes in snd-pcsp"). It can be achieved gracefully with a work queued in the high-prio system workqueue. This also changes tasklet_kill() with cancel_work_sync() in the sync_stop callback, which is anyway better to assure canceling the pending tasks. Link: https://lore.kernel.org/r/20200903104131.21097-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions