Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags
authorTony Lindgren tony <at atomide.com>
Sat, 11 Nov 2006 22:41:54 +0000 (23:41 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Fri, 1 Dec 2006 17:01:44 +0000 (18:01 +0100)
This patch is part of Tony Lindgren's earlier patch to add
MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c

Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br>
Signed-off-by: Tony Lindgren <tony <at> atomide.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/omap.c

index d46fd02ba0dc465ed98c17ff7e0624bed3133a8b..4e46750e8d0aa4cb7b3844fa38c92dcf122bf4e6 100644 (file)
@@ -1094,7 +1094,7 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
        mmc->f_min = 400000;
        mmc->f_max = 24000000;
        mmc->ocr_avail = MMC_VDD_32_33|MMC_VDD_33_34;
-       mmc->caps = MMC_CAP_BYTEBLOCK;
+       mmc->caps = MMC_CAP_MULTIWRITE | MMC_CAP_BYTEBLOCK;
 
        if (minfo->wire4)
                 mmc->caps |= MMC_CAP_4_BIT_DATA;