We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1865e8c + 9c42ec7 commit d43824eCopy full SHA for d43824e
drivers/mmc/core/quirks.c
@@ -71,7 +71,9 @@ static const struct mmc_fixup mmc_fixup_methods[] = {
71
72
void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table)
73
{
74
+#ifdef CONFIG_MMC_BCM2835
75
extern unsigned mmc_debug;
76
+#endif
77
const struct mmc_fixup *f;
78
u64 rev = cid_rev_card(card);
79
@@ -99,7 +101,9 @@ void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table)
99
101
/* SDHCI on BCM2708 - bug causes a certain sequence of CMD23 operations to fail.
100
102
* Disable this flag for all cards (fall-back to CMD25/CMD18 multi-block transfers).
103
*/
104
105
if (mmc_debug & (1<<13))
106
card->quirks |= MMC_QUIRK_BLK_NO_CMD23;
107
108
}
109
EXPORT_SYMBOL(mmc_fixup_device);
0 commit comments