Re: [RFC PATCH V2 2/2] mmc: allow card to disable tuning
From: Adrian Hunter
Date: Tue Mar 11 2025 - 11:25:58 EST
On 7/03/25 23:17, Erick Shepherd wrote:
>> 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?
Based on the model of the card i.e. add a new entry to mmc_sd_fixups[]