aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.c
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-06-14 07:40:53 -0400
committerPierre Ossman <pierre@ossman.eu>2009-06-21 15:00:58 -0400
commit1388eefd5a5e6aaa3cb04070bfc2b944c1d24b82 (patch)
tree3af02c2da18bc0b8640f177e5636b0775c34e21f /drivers/mmc/host/sdhci.c
parent6882a8c071d609f4c088bee41e79572c7cfc1790 (diff)
sdhci: Add SDHCI_QUIRK_NO_MULTIBLOCK quirk
Add quirk to show the controller cannot do multi-block IO. This is mainly for the Samsung SDHCI controller that currently cannot manage to do multi-block PIO without timing out. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r--drivers/mmc/host/sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index e54d6fba85e..3856669aa7e 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -1834,7 +1834,7 @@ int sdhci_add_host(struct sdhci_host *host)
1834 /* 1834 /*
1835 * Maximum block count. 1835 * Maximum block count.
1836 */ 1836 */
1837 mmc->max_blk_count = 65535; 1837 mmc->max_blk_count = (host->quirks & SDHCI_QUIRK_NO_MULTIBLOCK) ? 1 : 65535;
1838 1838
1839 /* 1839 /*
1840 * Init tasklets. 1840 * Init tasklets.