tifm_7xx1: switch from workqueue to kthread
authorAlex Dubov <oakad@yahoo.com>
Mon, 18 Dec 2006 03:20:06 +0000 (14:20 +1100)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 4 Feb 2007 19:54:09 +0000 (20:54 +0100)
commit7146f0d3bd2bcd0100a5db54f4ba9edc1042fe01
treebb8dd99b153d6aa8fe565be7256a586b0abd2977
parent6412d927313f08808d61b7efba8da43717d4e8d2
tifm_7xx1: switch from workqueue to kthread

As there's only one work item (media_switcher) to handle and it's effectively
serialized with itself, I found it more convenient to use kthread instead of
workqueue. This also allows for a working implementation of suspend/resume,
which were totally broken in the past version.

Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/misc/tifm_7xx1.c
drivers/misc/tifm_core.c
include/linux/tifm.h