From: Nicolas Ferre Date: Mon, 9 Jul 2007 12:58:16 +0000 (+0200) Subject: mmc: at91_mci: fix hanging and rework to match flowcharts X-Git-Tag: v2.6.23-rc1~1150^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed99c541e0a15281c57530d54a4a5e3272f74fb9;p=pandora-kernel.git mmc: at91_mci: fix hanging and rework to match flowcharts Fixes hanging using multi block operations (seen during CMD25). Follows closely the datasheet flowcharts. This piece of code handles better big file writing. I had to take care of the notbusy signal during write (at91_mci_handle_cmdrdy function) and to rearrange the AT91_MCI_ENDRX and AT91_MCI_RXBUFF flag usage. Signed-off-by: Nicolas Ferre Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed