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

From: Avri Altman
Date: Fri Aug 02 2024 - 02:53:56 EST


> Applying MMC_QUIRK_BROKEN_SD_CACHE is broken, as the card's extended
> registers are parsed prior to the quirk being applied in mmc_blk.
>
> Split this out into an 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")
> Authored-by: Jonathan Bell <jonathan@xxxxxxxxxxxxxxx>
> Signed-off-by: Jonathan Bell <jonathan@xxxxxxxxxxxxxxx>
> Signed-off-by: Keita Aihara <keita.aihara@xxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>