]> git.karo-electronics.de Git - mv-sheeva.git/commit
[MMC] Add multi block-write capability
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 30 Aug 2006 14:14:56 +0000 (15:14 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 16 Sep 2006 10:57:49 +0000 (11:57 +0100)
commitdb53f28b3a6d9338cca1b7e917dc063ac99e1871
treee75578ec00cfe0fa8a3449dc97038e3bb621f01f
parent132919ba80ad207755fe271277bfefff865a54fe
[MMC] Add multi block-write capability

Add a capability flag for drivers to set when they can perform multi-
block transfers to cards _and_ correctly report the number of bytes
transferred should an error occur.

The last point is very important - if a driver reports more bytes than
were actually accepted by the card and an error occurs, there is the
possibility for data loss.

Pierre Ossman provided the patch for wbsd and sdhci.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/mmc_block.c
drivers/mmc/mmci.c
drivers/mmc/sdhci.c
drivers/mmc/wbsd.c
include/linux/mmc/host.h