projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mmc
/
at91_mci.c
diff --git
a/drivers/mmc/at91_mci.c
b/drivers/mmc/at91_mci.c
index 521ace9a4db09847b37333a2a5c3ecec8b47e312..459f4b4feded9f9302c493083c116bcaa85cc00c 100644
(file)
--- a/
drivers/mmc/at91_mci.c
+++ b/
drivers/mmc/at91_mci.c
@@
-823,6
+823,9
@@
static int __init at91_mci_probe(struct platform_device *pdev)
mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
mmc->caps = MMC_CAP_BYTEBLOCK;
+ mmc->max_blk_size = 4095;
+ mmc->max_blk_count = mmc->max_req_size;
+
host = mmc_priv(mmc);
host->mmc = mmc;
host->buffer = NULL;