mmc/omap: Use disable_irq_nosync() from within irq handlers.
authorBen Nizette <bn@niasdigital.com>
Thu, 16 Apr 2009 05:55:21 +0000 (15:55 +1000)
committerPierre Ossman <pierre@ossman.eu>
Wed, 3 Jun 2009 19:50:23 +0000 (21:50 +0200)
commite749c6f21fd7dc618f61dd178b4ee739c3cb1c31
treeea1fd00457fa364b85204d6d74cf7463419b28bc
parent992697e9b342115dcf052ffa41d418cb4fe1a841
mmc/omap: Use disable_irq_nosync() from within irq handlers.

disable_irq() should wait for all running handlers to complete
before returning.  As such, if it's used to disable an interrupt
from that interrupt's handler it will deadlock.  This replaces
the dangerous instances with the _nosync() variant which doesn't
have this problem.

Signed-off-by: Ben Nizette <bn@niasdigital.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/mmc/host/omap.c