MMC: OMAP: Use tasklet instead of workqueue for cover switch notification
authorJarkko Lavinen <jarkko.lavinen@nokia.com>
Fri, 28 Dec 2007 20:38:09 +0000 (16:38 -0400)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Jan 2008 18:59:03 +0000 (10:59 -0800)
The cover waitqueue is occasionally scheduled twice from timer
and the interrupt and oops follows. It would have been possible
to fix this problem with spinlocks but using tasklet was a dropin
sloution with no need for locking.

This path also adds some cleanups.

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found