@@ -719,7 +719,20 @@ static const struct acpi_device_id sdhci_acpi_ids[] = {
719
719
};
720
720
MODULE_DEVICE_TABLE (acpi , sdhci_acpi_ids );
721
721
722
+ /* Please keep this list sorted alphabetically */
722
723
static const struct dmi_system_id sdhci_acpi_quirks [] = {
724
+ {
725
+ /*
726
+ * The Acer Aspire Switch 10 (SW5-012) microSD slot always
727
+ * reports the card being write-protected even though microSD
728
+ * cards do not have a write-protect switch at all.
729
+ */
730
+ .matches = {
731
+ DMI_MATCH (DMI_SYS_VENDOR , "Acer" ),
732
+ DMI_MATCH (DMI_PRODUCT_NAME , "Aspire SW5-012" ),
733
+ },
734
+ .driver_data = (void * )DMI_QUIRK_SD_NO_WRITE_PROTECT ,
735
+ },
723
736
{
724
737
/*
725
738
* The Lenovo Miix 320-10ICR has a bug in the _PS0 method of
@@ -734,18 +747,6 @@ static const struct dmi_system_id sdhci_acpi_quirks[] = {
734
747
},
735
748
.driver_data = (void * )DMI_QUIRK_RESET_SD_SIGNAL_VOLT_ON_SUSP ,
736
749
},
737
- {
738
- /*
739
- * The Acer Aspire Switch 10 (SW5-012) microSD slot always
740
- * reports the card being write-protected even though microSD
741
- * cards do not have a write-protect switch at all.
742
- */
743
- .matches = {
744
- DMI_MATCH (DMI_SYS_VENDOR , "Acer" ),
745
- DMI_MATCH (DMI_PRODUCT_NAME , "Aspire SW5-012" ),
746
- },
747
- .driver_data = (void * )DMI_QUIRK_SD_NO_WRITE_PROTECT ,
748
- },
749
750
{
750
751
/*
751
752
* The Toshiba WT8-B's microSD slot always reports the card being
0 commit comments