Skip to content
Commit be7b5622 authored by Ido Yariv's avatar Ido Yariv Committed by Chris Ball
Browse files

mmc: davinci: Eliminate spurious interrupts



The davinci mmc interrupt handler fills the fifo, as long as the DXRDY
or DRRDY bits are set in the status register.

If interrupts fire during this loop, they will be handled by the
handler, but the interrupt controller will still buffer these. As a
result, the handler will be called again to serve these needlessly. In
order to avoid these spurious interrupts, keep interrupts masked while
filling the fifo.

Signed-off-by: default avatarIdo Yariv <ido@wizery.com>
Tested-by: default avatarRajashekhara, Sudhakar <sudhakar.raj@ti.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 1f84b71b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment