On Tue, 11 May 2021 at 12:58, Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > > Hi, > > On 5/11/21 12:56 PM, Ulf Hansson wrote: > > On Mon, 3 May 2021 at 11:22, Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > >> > >> On the Toshiba Encore 2 WT8-B the microSD slot always reports the card > >> being write-protected even though microSD cards do not have a write-protect > >> switch at all. > >> > >> Add a new DMI_QUIRK_SD_NO_WRITE_PROTECT quirk entry to sdhci-acpi.c's > >> DMI quirk table for this. > >> > >> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> > > > > Applied for next, thanks! > > > > Should we tag this for stable? > > Yes please. Done, thanks! Kind regards Uffe > > Thanks & Regards, > > Hans > > > > > >> --- > >> drivers/mmc/host/sdhci-acpi.c | 11 +++++++++++ > >> 1 file changed, 11 insertions(+) > >> > >> diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c > >> index b6574e7fd26b..9e4358d7a0a6 100644 > >> --- a/drivers/mmc/host/sdhci-acpi.c > >> +++ b/drivers/mmc/host/sdhci-acpi.c > >> @@ -820,6 +820,17 @@ static const struct dmi_system_id sdhci_acpi_quirks[] = { > >> }, > >> .driver_data = (void *)DMI_QUIRK_SD_NO_WRITE_PROTECT, > >> }, > >> + { > >> + /* > >> + * The Toshiba WT8-B's microSD slot always reports the card being > >> + * write-protected. > >> + */ > >> + .matches = { > >> + DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), > >> + DMI_MATCH(DMI_PRODUCT_NAME, "TOSHIBA ENCORE 2 WT8-B"), > >> + }, > >> + .driver_data = (void *)DMI_QUIRK_SD_NO_WRITE_PROTECT, > >> + }, > >> {} /* Terminating entry */ > >> }; > >> > >> -- > >> 2.31.1 > >> > > >