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

Commit 857535ac authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: card: remove HPI and Cache quirks for Hynix cards"

parents 935c87f6 5b79103e
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -60,24 +60,11 @@ static const unsigned int tacc_mant[] = {
	})

static const struct mmc_fixup mmc_fixups[] = {
	/*
	 * Certain Hynix eMMC 4.41 cards might get broken when HPI feature
	 * is used so disable the HPI feature for such buggy cards.
	 */
	MMC_FIXUP_EXT_CSD_REV(CID_NAME_ANY, CID_MANFID_HYNIX,
			      0x014a, add_quirk, MMC_QUIRK_BROKEN_HPI, 5),

	/* Disable HPI feature for Kingstone card */
	MMC_FIXUP_EXT_CSD_REV("MMC16G", CID_MANFID_KINGSTON, CID_OEMID_ANY,
			add_quirk, MMC_QUIRK_BROKEN_HPI, 5),

	/*
	 * Some Hynix cards exhibit data corruption over reboots if cache is
	 * enabled. Disable cache for all versions until a class of cards that
	 * show this behavior is identified.
	 */
	MMC_FIXUP("H8G2d", CID_MANFID_HYNIX, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_CACHE_DISABLE),
	MMC_FIXUP(CID_NAME_ANY, CID_MANFID_NUMONYX_MICRON, CID_OEMID_ANY,
		add_quirk_mmc, MMC_QUIRK_CACHE_DISABLE),
	MMC_FIXUP("MMC16G", CID_MANFID_KINGSTON, CID_OEMID_ANY, add_quirk_mmc,