diff options
author | Hans de Goede <[email protected]> | 2020-03-16 19:47:53 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2020-03-17 12:21:21 +0100 |
commit | 3397b251ea02003f47f0b1667f3fe30bb4f9ce90 (patch) | |
tree | 51436f6d5bb57fcab30c1663f94a6cec5f9eb2b8 /lib/netdev-notifier-error-inject.c | |
parent | 84d49b3d08a1d33690cc159036f381c31c27c17b (diff) |
mmc: sdhci-acpi: Disable write protect detection on Acer Aspire Switch 10 (SW5-012)
On 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.
Add a new DMI_QUIRK_SD_NO_WRITE_PROTECT quirk which when set sets
the MMC_CAP2_NO_WRITE_PROTECT flag on the controller for the external SD
slot; and add a DMI quirk table entry which selects this quirk for the
Acer SW5-012.
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions