Skip to content

mmc: add quirks.c file and CLK_GATING users

Pierre Tardy linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: add per device quirk placeholderdrivers/mmc/core/Makefile drivers/mmc/core/core.h drivers/mmc/core/quirks.c +2 more+61 -13 replies
2/3mmc: add MMC_QUIRK_BROKEN_CLK_GATINGdrivers/mmc/core/host.c drivers/mmc/core/quirks.c include/linux/mmc/card.h+13 -43 replies
3/3mmc: remove anti clock gating quirk for wl1271drivers/mmc/core/quirks.c+18 -03 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus WalleijOhad Ben-Cohen
SeriesA-b
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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