mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
20402106a3
As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
24 lines
739 B
Diff
24 lines
739 B
Diff
From 4742aa31f93ae7d222d2564b2258a16fd297659e Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Thu, 19 May 2016 14:40:28 +0100
|
|
Subject: [PATCH 351/423] mmc: Apply QUIRK_BROKEN_ERASE to other capacities
|
|
|
|
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
|
|
@@ -2558,6 +2558,10 @@ static const struct mmc_fixup blk_fixups
|
|
*/
|
|
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
|
|
};
|