OSDN Git Service

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)
commitdd8c0c0b37f1692a1202ea2c6f9d43aa0485faac
tree16753eab4578a7b32761b117805d504320dfd566
parentd668e640d50a981e35ccf0c87d2742b0ad26fe0c
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