File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,9 @@ static const struct mmc_fixup mmc_fixup_methods[] = {
71
71
72
72
void mmc_fixup_device (struct mmc_card * card , const struct mmc_fixup * table )
73
73
{
74
+ #ifdef CONFIG_MMC_BCM2835
74
75
extern unsigned mmc_debug ;
76
+ #endif
75
77
const struct mmc_fixup * f ;
76
78
u64 rev = cid_rev_card (card );
77
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).
101
103
*/
104
+ #ifdef CONFIG_MMC_BCM2835
102
105
if (mmc_debug & (1 <<13 ))
103
106
card -> quirks |= MMC_QUIRK_BLK_NO_CMD23 ;
107
+ #endif
104
108
}
105
109
EXPORT_SYMBOL (mmc_fixup_device );
You can’t perform that action at this time.
0 commit comments