ASoC: sh: Replace tasklet with work
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Sep 2020 10:47:48 +0000 (12:47 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 9 Sep 2020 14:42:09 +0000 (15:42 +0100)
commitd668e640d50a981e35ccf0c87d2742b0ad26fe0c
tree5763c16b2bf01ed8cb6106a355d10ea9a3f3ebd0
parenta3d1f931ea4af3a9cae0098a957ce55293ce9ab6
ASoC: sh: Replace tasklet with work

The tasklet is an old API that should be deprecated, usually can be
converted to another decent API.  In ASoC SH SIU 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 SH SIU 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-3-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/siu.h
sound/soc/sh/siu_pcm.c