]> err.no Git - linux-2.6/commit
sdhci: be more cautious about block count register
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 12 Aug 2007 11:13:24 +0000 (13:13 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Thu, 23 Aug 2007 04:27:44 +0000 (06:27 +0200)
commit2b061973404802fb87db93175b856ee0dfbe38e4
tree9d44303c71725ec80da3b90c2e33f0fc8d22741b
parentbe760a9de881d84994403bb93177bcb95319c4cb
sdhci: be more cautious about block count register

The block count register shouldn't be trusted for single block transfers,
so avoid using it completely when calculating transferred bytes.

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