mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
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>
This commit is contained in:
@@ -95,5 +95,9 @@ void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table)
|
|||||||
f->vendor_fixup(card, f->data);
|
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);
|
EXPORT_SYMBOL(mmc_fixup_device);
|
||||||
|
|||||||
Reference in New Issue
Block a user