From: Maxim Levitsky Date: Sat, 31 Jul 2010 14:59:17 +0000 (-0300) Subject: V4L/DVB: IR: replace workqueue with kthread X-Git-Tag: v2.6.36-rc1~289^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d2cb1de8e81ffc06df67853be5ead3556d3a6b5;p=pandora-kernel.git V4L/DVB: IR: replace workqueue with kthread It is perfectly possible to have ir_raw_event_work running concurently on two cpus, thus we must protect it from that situation. This stems from the fact that if hardware sends short packets of samples we might end up queueing the work item more times that nessesary. Such job isn't well suited for a workqueue, so use a kernel thread. Signed-off-by: Maxim Levitsky Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed