mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
9b74de00f7
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44433
27 lines
959 B
Diff
27 lines
959 B
Diff
From 06c752756a452a0c59447836edce57ef7393be5c Mon Sep 17 00:00:00 2001
|
|
From: P33M <P33M@github.com>
|
|
Date: Tue, 13 Jan 2015 17:12:18 +0000
|
|
Subject: [PATCH 059/114] mmc: Disable CMD23 transfers on all cards
|
|
|
|
Pending wire-level investigation of these types of transfers
|
|
and associated errors on bcm2835-mmc, disable for now. Fallback of
|
|
CMD18/CMD25 transfers will be used automatically by the MMC layer.
|
|
|
|
Reported/Tested-by: Gellert Weisz <gellert@raspberrypi.org>
|
|
---
|
|
drivers/mmc/core/quirks.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
--- a/drivers/mmc/core/quirks.c
|
|
+++ b/drivers/mmc/core/quirks.c
|
|
@@ -95,5 +95,9 @@ void mmc_fixup_device(struct mmc_card *c
|
|
f->vendor_fixup(card, f->data);
|
|
}
|
|
}
|
|
+ /* SDHCI on BCM2708 - bug causes a certain sequence of CMD23 operations to fail.
|
|
+ * Disable this flag for all cards (fall-back to CMD25/CMD18 multi-block transfers).
|
|
+ */
|
|
+ card->quirks |= MMC_QUIRK_BLK_NO_CMD23;
|
|
}
|
|
EXPORT_SYMBOL(mmc_fixup_device);
|