]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B
authorHans de Goede <hdegoede@redhat.com>
Mon, 3 May 2021 09:21:57 +0000 (11:21 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 May 2021 13:12:27 +0000 (15:12 +0200)
commit1dbd1a5654489a139b8da55efc260a1ffeddc665
treea5d541ac829a2b3ff18019f44855b8ae15dac790
parenteb4fe0b9801f581f568a8cbb9be6978c75a45c1d
mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B

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@redhat.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20210503092157.5689-1-hdegoede@redhat.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Cc: stable@vger.kernel.org
drivers/mmc/host/sdhci-acpi.c