ALSA: asihpi: Replace tasklet with threaded irq
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Sep 2020 10:41:29 +0000 (12:41 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Sep 2020 16:34:20 +0000 (18:34 +0200)
commitce4f25759372bbf6c37b92712b00c1b1b9b4b48e
tree5f5e57770c71b499ff0d606b82fe5ac650afd62f
parent2ac55daffee5af04b13f96e6acef63a8e4bfff85
ALSA: asihpi: Replace tasklet with threaded irq

The tasklet is an old API that should be deprecated, usually can be
converted to another decent API.  In ASIHPI driver, a tasklet is
still used for offloading the PCM IRQ handling.  It can be achieved
gracefully with a threaded IRQ, too.

This patch replaces the tasklet usage in asihpi driver with a threaded
IRQ.  It also simplified some call patterns.

Link: https://lore.kernel.org/r/20200903104131.21097-10-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c
sound/pci/asihpi/hpioctl.c