]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb505f65b1add4ef53d8645c2267f0368344bf863
treeea1fd00457fa364b85204d6d74cf7463419b28bc
parentb44321a6dbd87321e92f7f9c41dec0bbcb092234
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