0354-mmc-Apply-QUIRK_BROKEN_ERASE-to-other-capacities.patch 739 B

1234567891011121314151617181920212223
  1. From 369e26e925e1075fb57c0b04dde7a77fa7cdeb86 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Thu, 19 May 2016 14:40:28 +0100
  4. Subject: [PATCH 354/381] mmc: Apply QUIRK_BROKEN_ERASE to other capacities
  5. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  6. ---
  7. drivers/mmc/card/block.c | 4 ++++
  8. 1 file changed, 4 insertions(+)
  9. --- a/drivers/mmc/card/block.c
  10. +++ b/drivers/mmc/card/block.c
  11. @@ -2558,6 +2558,10 @@ static const struct mmc_fixup blk_fixups
  12. */
  13. MMC_FIXUP("SD16G", 0x41, 0x3432, add_quirk_mmc,
  14. MMC_QUIRK_ERASE_BROKEN),
  15. + MMC_FIXUP("SD32G", 0x41, 0x3432, add_quirk_mmc,
  16. + MMC_QUIRK_ERASE_BROKEN),
  17. + MMC_FIXUP("SD64G", 0x41, 0x3432, add_quirk_mmc,
  18. + MMC_QUIRK_ERASE_BROKEN),
  19. END_FIXUP
  20. };