ASoC: fsl: Replace tasklet with work
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Sep 2020 10:47:47 +0000 (12:47 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 9 Sep 2020 14:42:08 +0000 (15:42 +0100)
commita3d1f931ea4af3a9cae0098a957ce55293ce9ab6
tree964a3b450c3e363d82773a2bd5a092410850af24
parent05680cc0e584de91b5bd6a705d2115227c5b53ae
ASoC: fsl: Replace tasklet with work

The tasklet is an old API that should be deprecated, usually can be
converted to another decent API.  In ASoC FSL ESAI CPU DAI 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 fsl esai 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-2-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_esai.c