]> git.hungrycats.org Git - linux/commit
[MMC] MMCI: Manipulate IRQ masks according to the data FSM state.
authorRussell King <rmk@flint.arm.linux.org.uk>
Mon, 30 Aug 2004 16:38:01 +0000 (17:38 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Mon, 30 Aug 2004 16:38:01 +0000 (17:38 +0100)
commit2dfa8b1e662efefabacda50986001244a53380f9
treeaa0dd536a084b29147c305b4371ce2b20365c70c
parent8e86fbabc041c9f7ab821ea29cf4e2f5c2f70d30
[MMC] MMCI: Manipulate IRQ masks according to the data FSM state.

Prevent IRQ race conditions between the two handlers and within the
primecell itself.  Unfortunately, the primecell does not always mask
the FIFO empty interrupt we reach the end of a transfer to the card.
Also, we may receive the "data end" interrupt prior to finishing a
transfer from the card, so mask this off until we've read the last
bytes from the FIFO.
drivers/mmc/mmci.c
drivers/mmc/mmci.h