diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-11-28 16:32:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-30 18:41:13 +0100 |
commit | 786e1c37194e8e822eb72a0aed5fa850e07071a0 (patch) | |
tree | 0fa452a029786a67d2931126b3ea5c3d45e0061b /sound/soc/intel/skylake/skl-sst-ipc.h | |
parent | ASoC: Intel: atom: Make some messages to debug level (diff) | |
download | linux-786e1c37194e8e822eb72a0aed5fa850e07071a0.tar.xz linux-786e1c37194e8e822eb72a0aed5fa850e07071a0.zip |
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>
Diffstat (limited to 'sound/soc/intel/skylake/skl-sst-ipc.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-ipc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-ipc.h b/sound/soc/intel/skylake/skl-sst-ipc.h index 0568f2e8fc57..cc40341233fa 100644 --- a/sound/soc/intel/skylake/skl-sst-ipc.h +++ b/sound/soc/intel/skylake/skl-sst-ipc.h @@ -16,7 +16,6 @@ #ifndef __SKL_IPC_H #define __SKL_IPC_H -#include <linux/kthread.h> #include <linux/irqreturn.h> #include "../common/sst-ipc.h" |