WSL2-Linux-Kernel/sound/soc/intel/baytrail
Takashi Iwai 786e1c3719 ASoC: intel: Replace kthread with work
The usage pattern of kthread worker in Intel SST drivers can be
replaced gracefully with the normal workqueue, which is more light-
weight and easier to manage in general.  Let's do it.

While in the replacement, move the schedule_work() call inside the
spinlock for excluding the race, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Tested-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-11-30 17:41:13 +00:00
..
Makefile ASoC: Intel: create baytrail folder and move baytrail platform files in 2015-04-06 17:49:45 +01:00
sst-baytrail-dsp.c ASoC: Intel: create baytrail folder and move baytrail platform files in 2015-04-06 17:49:45 +01:00
sst-baytrail-ipc.c ASoC: intel: Replace kthread with work 2016-11-30 17:41:13 +00:00
sst-baytrail-ipc.h ASoC: Intel: create baytrail folder and move baytrail platform files in 2015-04-06 17:49:45 +01:00
sst-baytrail-pcm.c ASoC: Intel: add NULL test 2015-12-23 00:02:17 +00:00