Re: [RFC PATCH V2 2/2] mmc: allow card to disable tuning

From: Erick Shepherd
Date: Fri Mar 07 2025 - 16:18:03 EST


> Does it tuning at all? Maybe MMC_QUIRK_NO_UHS_DDR50_TUNING is a better
> name, then at the top of mmc_execute_tuning()

> if ((card->quirks & MMC_QUIRK_NO_UHS_DDR50_TUNING) &&
> host->ios->timing == MMC_TIMING_UHS_DDR50)
> return 0;

The card doesn't need to tune at all so I think this would work for us.
I'm not very familiar with using card quirks. What would be the best
way to set MMC_QUIRK_NO_UHS_DDR50_TUNING? Would it be set based on the
model of the card or should it be set after the initial tuning times
out?

Regards,
Erick