On Mon, Nov 28, 2016 at 09:22:36PM +0530, Vinod Koul wrote:
On Mon, Nov 28, 2016 at 04:32:19PM +0100, Takashi Iwai wrote:
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
Vinod, I tested this only lightly, so it'd be helpful if the patch is checked on the affected devices before merging.
We had apatch done last week internally for this, but this one is fine too.
I will get it verfied on SKL tomorrow and get back
Hi Takashi,
Works fine :)
Acked-by: Vinod Koul vinod.koul@intel.com Tested-by: Subhransu S. Prusty subhransu.s.prusty@intel.com
Thanks