]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: aloop: Replace tasklet with work
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Sep 2020 10:41:25 +0000 (12:41 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Sep 2020 16:33:36 +0000 (18:33 +0200)
commit7ebf5bed99c54dbbd825c420ae5845ff73746ff6
tree76094bd3df8ec5bed3cd6bf27094b781b7cbb59e
parent6b1938771c61a3ac492d22bbfa4e1e8ac353a98e
ALSA: aloop: Replace tasklet with work

The tasklet is an old API that should be deprecated, usually can be
converted to another decent API.  In aloop driver, a tasklet is still
used for offloading the timer event task.  It can be achieved
gracefully with a work queued, too.

This patch replaces the tasklet usage in aloop driver with a simple
work.

Link: https://lore.kernel.org/r/20200903104131.21097-6-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/aloop.c