]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: txx9: Replace tasklet with work
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Sep 2020 10:47:49 +0000 (12:47 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 9 Sep 2020 14:42:10 +0000 (15:42 +0100)
commit97844777c998e66937171a55768c1446257354ef
tree16753eab4578a7b32761b117805d504320dfd566
parentd7c30c814dab7f3f33286d65b7b25533958c45be
ASoC: txx9: Replace tasklet with work

The tasklet is an old API that should be deprecated, usually can be
converted to another decent API.  In ASoC TXx9 ACLC driver, a tasklet
is still used for offloading the hardware reset function.  It can be
achieved gracefully with a work queued, too.

This patch replaces the tasklet usage in TXx9 ACLC driver with a
simple work.  The conversion is fairly straightforward.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200903104749.21435-4-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/txx9/txx9aclc.c
sound/soc/txx9/txx9aclc.h