[PATCH 0/3] mmc: add quirks.c file and CLK_GATING users

Pierre Tardy
2011-01-09T17:24:45Z

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