mmci: bug in DATABLOCKEND handling?

From: Rabin Vincent <hidden>
Date: 2011-01-02 05:54:24

In MMCI, on variants which use the DATABLOCKEND interrupt, if we cross
more than one block boundary in the loop inside mmc_pio_read() or
mmci_pio_write(), when the DATABLOCKEND irq is handled after interrupts
are enabled in mmci_pio_irq(), won't the block count be incorrect
because we would consider that only one block has been transferred, when
in fact it has been two?  Or can this never happen for some reason?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help