mmc: card: disable cache for specific Kingston cards

This change prevents enabling cache for cards with
product name MMC16G.
This change is workaround the problem of long timeouts for cache
operations.

Change-Id: Ib683809faed8afc74bf0faff8636ead210013e6f
Signed-off-by: Talel Shenhar <tatias@codeaurora.org>
This commit is contained in:
Talel Shenhar 2015-02-12 10:12:39 +02:00 committed by Subhash Jadavani
parent 4a897cf6aa
commit 3fe677ea14

View file

@ -131,6 +131,10 @@ static const struct mmc_fixup mmc_fixups[] = {
MMC_FIXUP_EXT_CSD_REV("MMC16G", CID_MANFID_KINGSTON, CID_OEMID_ANY,
add_quirk, MMC_QUIRK_BROKEN_HPI, MMC_V4_41),
/* Disable cache for specific cards */
MMC_FIXUP("MMC16G", CID_MANFID_KINGSTON, CID_OEMID_ANY,
add_quirk_mmc, MMC_QUIRK_CACHE_DISABLE),
END_FIXUP
};