summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-s3c.c
diff options
context:
space:
mode:
authorBen Dooks2009-06-14 13:40:53 +0200
committerPierre Ossman2009-06-21 21:00:58 +0200
commit1388eefd5a5e6aaa3cb04070bfc2b944c1d24b82 (patch)
tree3af02c2da18bc0b8640f177e5636b0775c34e21f /drivers/mmc/host/sdhci-s3c.c
parentsdhci: Add better ADMA error reporting (diff)
downloadkernel-qcow2-linux-1388eefd5a5e6aaa3cb04070bfc2b944c1d24b82.tar.gz
kernel-qcow2-linux-1388eefd5a5e6aaa3cb04070bfc2b944c1d24b82.tar.xz
kernel-qcow2-linux-1388eefd5a5e6aaa3cb04070bfc2b944c1d24b82.zip
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-s3c.c')
-rw-r--r--drivers/mmc/host/sdhci-s3c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 19246fe3d3e2..50997d2a63e7 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -329,6 +329,9 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
* support as well. */
host->quirks |= SDHCI_QUIRK_BROKEN_DMA;
+ /* PIO currently has problems with multi-block IO */
+ host->quirks |= SDHCI_QUIRK_NO_MULTIBLOCK;
+
#endif /* CONFIG_MMC_SDHCI_S3C_DMA */
/* It seems we do not get an DATA transfer complete on non-busy