• Russell King's avatar
    [MMC] Add multi block-write capability · db53f28b
    Russell King authored
    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: default avatarPierre Ossman <drzeus@drzeus.cx>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    db53f28b
wbsd.c 41.9 KB