Hello, this is a followup patchset of discussion that happen before on linux-mmc mailing list We add a mmc/core/quirk.c file holding list of quirks per devices or more generic quirks e.g. all sdio devices have this quirk. For now, only sdio card hook has been added. Hook for mmc or sd can be added in a followup patch. Just call mmc_fixup_device() in the proper place, after deviceid and vendorid is known. Pierre Tardy (3): mmc: add per device quirk placeholder mmc: add MMC_QUIRK_BROKEN_CLK_GATING mmc: remove anti clock gating quirk for wl1271 drivers/mmc/core/Makefile | 3 +- drivers/mmc/core/core.h | 2 + drivers/mmc/core/host.c | 5 +-- drivers/mmc/core/quirks.c | 83 +++++++++++++++++++++++++++++++++++++++++++++ drivers/mmc/core/sdio.c | 1 + include/linux/mmc/card.h | 3 ++ 6 files changed, 92 insertions(+), 5 deletions(-) create mode 100644 drivers/mmc/core/quirks.c -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html