sdhci: use PIO when DMA can't satisfy the request
commitc9fddbc4f844f5a16b5957c61fe2cfcb5c12f990
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 2 Dec 2007 18:52:11 +0000 (2 19:52 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 12 Dec 2007 19:01:00 +0000 (12 20:01 +0100)
tree0bc8f857acfb7c47ab4c7231ffab5c8628b714c3
parentc6573c94670882079174e2ea0da4abf1a0da51fe
sdhci: use PIO when DMA can't satisfy the request

Some controllers have been designed on the assumption that all transfers
will be 32-bit aligned, both in start address and in size. This is not a
guarantee the SDHCI specification provides and not one we can provide.

Revert back to PIO for individual requests in order to work around the
hardware bug.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h