RE: [PATCH v2] mmc: core: apply SD quirks earlier during probe

From: Avri Altman
Date: Wed Aug 21 2024 - 02:05:25 EST


>
>
> From: Jonathan Bell <jonathan@xxxxxxxxxxxxxxx>
>
> Applying MMC_QUIRK_BROKEN_SD_CACHE is broken, as the card's SD quirks are
> referenced in sd_parse_ext_reg_perf() prior to the quirks being initialized in
> mmc_blk_probe().
>
> Split this out into a SD-specific list of quirks and apply in
> mmc_sd_init_card() instead.
>
> Fixes: c467c8f08185 ("mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston
> Canvas Go Plus from 11/2019")
> Signed-off-by: Jonathan Bell <jonathan@xxxxxxxxxxxxxxx>
> Co-developed-by: Keita Aihara <keita.aihara@xxxxxxxx>
> Signed-off-by: Keita Aihara <keita.aihara@xxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>