Files
linux/drivers/mmc/core
Avri Altman 50345c9369 mmc: core: sd: Apply BROKEN_SD_DISCARD quirk earlier
commit 009c3a4bc4 upstream.

Move the BROKEN_SD_DISCARD quirk for certain SanDisk SD cards from the
`mmc_blk_fixups[]` to `mmc_sd_fixups[]`. This ensures the quirk is
applied earlier in the device initialization process, aligning with the
reasoning in [1]. Applying the quirk sooner prevents the kernel from
incorrectly enabling discard support on affected cards during initial
setup.

[1] https://lore.kernel.org/all/20240820230631.GA436523@sony.com

Fixes: 07d2872bf4 ("mmc: core: Add SD card quirk for broken discard")
Signed-off-by: Avri Altman <avri.altman@sandisk.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250526114445.675548-1-avri.altman@sandisk.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-10 16:04:42 +02:00
..
2024-12-14 20:03:11 +01:00
2025-06-27 11:11:26 +01:00
2022-12-07 13:29:13 +01:00
2024-04-02 12:21:38 +02:00
2024-09-03 14:34:44 +02:00
2025-06-27 11:11:26 +01:00
2024-12-14 20:03:11 +01:00