aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/at91_mci.c
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-07-24 14:38:53 -0400
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 03:15:05 -0400
commit255d01af9a990fd5166f04ed0cc0b30b7b67e81e (patch)
tree0e88bc62b3e988bb578cf7d2dea80270a6d0a4c1 /drivers/mmc/host/at91_mci.c
parentb146d26a61e0feab2f12a98ae83fd352830899c0 (diff)
mmc: remove BYTEBLOCK capability
Remove the BYTEBLOCK capability and let the broken hosts fail the requests with -EINVAL instead. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host/at91_mci.c')
-rw-r--r--drivers/mmc/host/at91_mci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c
index 810a433ce532..576d7cb0b3ec 100644
--- a/drivers/mmc/host/at91_mci.c
+++ b/drivers/mmc/host/at91_mci.c
@@ -834,7 +834,6 @@ static int __init at91_mci_probe(struct platform_device *pdev)
834 mmc->f_min = 375000; 834 mmc->f_min = 375000;
835 mmc->f_max = 25000000; 835 mmc->f_max = 25000000;
836 mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34; 836 mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
837 mmc->caps = MMC_CAP_BYTEBLOCK;
838 837
839 mmc->max_blk_size = 4095; 838 mmc->max_blk_size = 4095;
840 mmc->max_blk_count = mmc->max_req_size; 839 mmc->max_blk_count = mmc->max_req_size;