Skip to content
Commit e749c6f2 authored by Ben Nizette's avatar Ben Nizette Committed by Pierre Ossman
Browse files

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: default avatarBen Nizette <bn@niasdigital.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarPierre Ossman <pierre@ossman.eu>
parent 992697e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment