[RFC PATCH 0/2] mmc: allow to rely on the DT to apply quirks

From: Jerome Pouiller
Date: Thu Oct 14 2021 - 10:31:07 EST


From: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx>

Hi Ulf,

I try to write a patch to problem discussed here[1].

This patch is not complete. Especially, it does not contains the necessary
FIXUP macro in card.h. I would like to have your comment on the concept.

[1] https://lore.kernel.org/netdev/CAPDyKFr62Kykg3=9WiXAV8UToqjw8gj4t6bbM7pGQ+iGGQRLmg@xxxxxxxxxxxxxx/

Jérôme Pouiller (2):
mmc: rewrite mmc_fixup_device()
mmc: allow to match the device tree to apply quirks

drivers/mmc/core/card.h | 3 ++
drivers/mmc/core/quirks.h | 59 ++++++++++++++++++++++++++++-----------
2 files changed, 45 insertions(+), 17 deletions(-)

--
2.33.0