Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c
Hi Tony and folks,
Following previous comments from Juha and Pierre, this patch add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c
BR,
Carlos.
Signature · 6 lines
Carlos Eduardo Nokia Institute of Technology - INdT Embedded Linux Laboratory - 10LE Phone: +55 92 2126-1079 Mobile: +55 92 8127-1797 E-mail: [email protected]
Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags
Signed-off-by Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br>
drivers/mmc/omap.c +2 -2
@@ -1088,8 +1088,8 @@ static int __init mmc_omap_probe(struct mmc->ops = &mmc_omap_ops; mmc->f_min =400000 ; mmc->f_max =24000000 ; - mmc->ocr_avail =MMC_VDD_32_33 |MMC_VDD_33_34 |MMC_CAP_MULTIWRITE - |MMC_CAP_BYTEBLOCK ; + mmc->ocr_avail =MMC_VDD_32_33 |MMC_VDD_33_34 ; + mmc->caps =MMC_CAP_MULTIWRITE |MMC_CAP_BYTEBLOCK ;if (minfo->wire4) mmc->caps |=MMC_CAP_4_BIT_DATA ;
Quoted 27 lines · Carlos Aguiar
Hi Tony and folks,
Following previous comments from Juha and Pierre, this patch add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in
omap.cBR,
Carlos.
Signature · 14 lines
Carlos Eduardo Nokia Institute of Technology - INdT Embedded Linux Laboratory - 10LE Phone: +55 92 2126-1079 Mobile: +55 92 8127-1797 E-mail: [email protected] Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br> Index: linux-omap-git/drivers/mmc/omap.c ===================================================================
drivers/mmc/omap.c static int __init mmc_omap_probe(struct · line 1095
Quoted 10 lines
drivers/mmc/omap.c +2
-2@@ -1088,8 +1088,8 @@ static int __init mmc_omap_probe(struct mmc->ops = &mmc_omap_ops; mmc->f_min =400000 ; mmc->f_max =24000000 ; - mmc->ocr_avail =MMC_VDD_32_33 |MMC_VDD_33_34 |MMC_CAP_MULTIWRITE - |MMC_CAP_BYTEBLOCK ; + mmc->ocr_avail =MMC_VDD_32_33 |MMC_VDD_33_34 ; + mmc->caps =MMC_CAP_MULTIWRITE |MMC_CAP_BYTEBLOCK ;if (minfo->wire4) mmc->caps |=MMC_CAP_4_BIT_DATA ;
Pushing today.
Tony