]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commitddf1dac3ddf0d7c40b51bf4b6ca1c9a04d54b8b4
tree609654668fdeda118d2376c07802571c5d20a25e
parentecb0a7a985255b0bde247b7e3791a8a0b950d03c
MMC: OMAP: Use tasklet instead of workqueue for cover switch notification

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>
drivers/mmc/host/omap.c