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

Commit 9c6009c0 authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

mmc: core: disable cache for micron eMMC devices



Enabling cache in micron devices with manufacturer ID 0xFE
is resulting in data corruption issues during power-off tests.

CRs-fixed: 654661
Change-Id: Ifcdecb26c4c75b055a128a8d9b883fc028521930
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 673f6d76
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -77,7 +77,8 @@ 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(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,
		  MMC_QUIRK_CACHE_DISABLE),

+1 −0
Original line number Diff line number Diff line
@@ -457,6 +457,7 @@ struct mmc_fixup {
#define CID_MANFID_SAMSUNG	0x15
#define CID_MANFID_KINGSTON	0x70
#define CID_MANFID_HYNIX	0x90
#define CID_MANFID_NUMONYX_MICRON 0xfe

#define END_FIXUP { 0 }