]> err.no Git - linux-2.6/commitdiff
mmc: at91_mci: add multiwrite switch
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 30 May 2008 12:08:56 +0000 (14:08 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:42 +0000 (14:14 +0200)
at91_mci is capable of multiwrite. Enable it before it disappears.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/at91_mci.c

index b5a6e250fc1a946c83fdd3ad3901c73c8a04ab56..b2bb79e74eaa1d757c101d62f182138e100a2181 100644 (file)
@@ -947,6 +947,7 @@ static int __init at91_mci_probe(struct platform_device *pdev)
        mmc->f_min = 375000;
        mmc->f_max = 25000000;
        mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
+       mmc->caps = MMC_CAP_MULTIWRITE;
 
        mmc->max_blk_size = 4095;
        mmc->max_blk_count = mmc->max_req_size;