]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run()
authorCedric Le Goater <clg@fr.ibm.com>
Mon, 11 Sep 2006 19:31:45 +0000 (16:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:36 +0000 (12:30 -0300)
commitbc28287979592c015560f8837a98b63a3be8bbc1
tree8103d470146c201dfe811af5374984e13e17f8df
parentc93a5c34887426daa70f3caf05881fafb1cd687f
V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run()

Replaced kernel_thread() with kthread_run() since kernel_thread() is
deprecated in drivers/modules.
Removed the completion and the wait queue which are now useless with
kthread. Also removed the allow_signal() call as signals don't apply
to kernel threads.
Fixed a small race condition when thread is stopped.
Please check if the timer vs. thread still works fine without the wait
queue.

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tvaudio.c