Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 173f4531 authored by Konstantin Dorfman's avatar Konstantin Dorfman Committed by Gerrit - the friendly Code Review server
Browse files

mmc: card: quirk: disable cache for Kingstone card



This change prevents enabling cache during card init for specific
Kingstone card.
This change is workaround the problem of long timeouts for cache
operations.

Change-Id: I6be53a408c7d6422556585d4ea2f9b1c487563e0
Signed-off-by: default avatarKonstantin Dorfman <kdorfman@codeaurora.org>
parent 9331006e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -74,6 +74,9 @@ static const struct mmc_fixup mmc_fixups[] = {
	MMC_FIXUP("H8G2d", CID_MANFID_HYNIX, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_CACHE_DISABLE),

	MMC_FIXUP("MMC16G", CID_MANFID_KINGSTON, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_CACHE_DISABLE),

	END_FIXUP
};

+1 −0
Original line number Diff line number Diff line
@@ -455,6 +455,7 @@ struct mmc_fixup {
#define CID_MANFID_TOSHIBA	0x11
#define CID_MANFID_MICRON	0x13
#define CID_MANFID_SAMSUNG	0x15
#define CID_MANFID_KINGSTON	0x70
#define CID_MANFID_HYNIX	0x90

#define END_FIXUP { 0 }