mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-11 11:55:28 +02:00
mmc: sdhci-acpi: Sort DMI quirks alphabetically
commit a92a73b1d9
upstream.
Sort the DMI quirks alphabetically.
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240410191639.526324-4-hdegoede@redhat.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d9ae0aa8ff
commit
e236bb53fd
|
@ -719,7 +719,20 @@ static const struct acpi_device_id sdhci_acpi_ids[] = {
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(acpi, sdhci_acpi_ids);
|
MODULE_DEVICE_TABLE(acpi, sdhci_acpi_ids);
|
||||||
|
|
||||||
|
/* Please keep this list sorted alphabetically */
|
||||||
static const struct dmi_system_id sdhci_acpi_quirks[] = {
|
static const struct dmi_system_id sdhci_acpi_quirks[] = {
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* The Acer Aspire Switch 10 (SW5-012) microSD slot always
|
||||||
|
* reports the card being write-protected even though microSD
|
||||||
|
* cards do not have a write-protect switch at all.
|
||||||
|
*/
|
||||||
|
.matches = {
|
||||||
|
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
|
||||||
|
DMI_MATCH(DMI_PRODUCT_NAME, "Aspire SW5-012"),
|
||||||
|
},
|
||||||
|
.driver_data = (void *)DMI_QUIRK_SD_NO_WRITE_PROTECT,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The Lenovo Miix 320-10ICR has a bug in the _PS0 method of
|
* 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[] = {
|
||||||
},
|
},
|
||||||
.driver_data = (void *)DMI_QUIRK_RESET_SD_SIGNAL_VOLT_ON_SUSP,
|
.driver_data = (void *)DMI_QUIRK_RESET_SD_SIGNAL_VOLT_ON_SUSP,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
/*
|
|
||||||
* The Acer Aspire Switch 10 (SW5-012) microSD slot always
|
|
||||||
* reports the card being write-protected even though microSD
|
|
||||||
* cards do not have a write-protect switch at all.
|
|
||||||
*/
|
|
||||||
.matches = {
|
|
||||||
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
|
|
||||||
DMI_MATCH(DMI_PRODUCT_NAME, "Aspire SW5-012"),
|
|
||||||
},
|
|
||||||
.driver_data = (void *)DMI_QUIRK_SD_NO_WRITE_PROTECT,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The Toshiba WT8-B's microSD slot always reports the card being
|
* The Toshiba WT8-B's microSD slot always reports the card being
|
||||||
|
|
Loading…
Reference in New Issue
Block a user