]> git.hungrycats.org Git - linux/commit
[MMC] MMCI: Ensure that we read all data from FIFO.
authorRussell King <rmk@flint.arm.linux.org.uk>
Mon, 30 Aug 2004 18:33:23 +0000 (19:33 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Mon, 30 Aug 2004 18:33:23 +0000 (19:33 +0100)
commitb6d45af7248d384a838bbe392183c868c4fe2e1a
tree3482c3e51a54f3cef785ab44502791b64ae764c2
parentaf9fe62937a0e10daef53b425ad2447b96ddafde
[MMC] MMCI: Ensure that we read all data from FIFO.

When we are nearing the end of a transfer from the card, we may not
have sufficient data in the FIFO to trigger a "half FIFO full" IRQ.
Therefore, when we have less than MCI_FIFOSIZE bytes left, switch to
"FIFO contains data" IRQ mode instead.
drivers/mmc/mmci.c