2017-02-06 16:12:09 +00:00
|
|
|
From e26729f7e04d21d069169cf1c5f8611e2d9eba60 Mon Sep 17 00:00:00 2001
|
2016-06-08 09:59:37 +00:00
|
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
Date: Thu, 19 May 2016 14:40:28 +0100
|
2016-09-10 12:54:26 +00:00
|
|
|
Subject: [PATCH] mmc: Apply QUIRK_BROKEN_ERASE to other capacities
|
2016-06-08 09:59:37 +00:00
|
|
|
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
---
|
|
|
|
drivers/mmc/card/block.c | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
|
|
|
|
|
|
|
--- a/drivers/mmc/card/block.c
|
|
|
|
+++ b/drivers/mmc/card/block.c
|
2016-10-29 07:56:58 +00:00
|
|
|
@@ -2559,6 +2559,10 @@ static const struct mmc_fixup blk_fixups
|
2016-06-08 09:59:37 +00:00
|
|
|
*/
|
|
|
|
MMC_FIXUP("SD16G", 0x41, 0x3432, add_quirk_mmc,
|
|
|
|
MMC_QUIRK_ERASE_BROKEN),
|
|
|
|
+ MMC_FIXUP("SD32G", 0x41, 0x3432, add_quirk_mmc,
|
|
|
|
+ MMC_QUIRK_ERASE_BROKEN),
|
|
|
|
+ MMC_FIXUP("SD64G", 0x41, 0x3432, add_quirk_mmc,
|
|
|
|
+ MMC_QUIRK_ERASE_BROKEN),
|
|
|
|
|
|
|
|
END_FIXUP
|
|
|
|
};
|