Commit 2eb7ccbe authored by Avri Altman's avatar Avri Altman Committed by Alistair Delva
Browse files

BACKPORT: FROMGIT: mmc: core: SD: Add BROKEN-SD-DISCARD quirk



v1 -> v2:
 - Address Ulf's suggestions

Some SD-cards that are SDA-6.0 compliant reports they supports discard
while they actually don't.  This might cause mk2fs to fail while trying
to format the card and revert it to a read-only mode.

While at it, add SD MID for SANDISK. This is because eMMC MID is assign
by JEDEC and SD MID is assigned by SD 3c-LLC.

Signed-off-by: default avatarAvri Altman <avri.altman@wdc.com>
Bug: 249507619
(cherry picked from commit 07d2872b git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git

)
Change-Id: I43db47edbffc83dd680bad42ae691cef38edbf12
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 3ade5318
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment