]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sdhci-pci: Add DMI quirk for missing CD GPIO on Vexia Edu Atla 10 tablet
authorHans de Goede <hdegoede@redhat.com>
Mon, 18 Nov 2024 21:00:49 +0000 (22:00 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 Dec 2024 14:06:03 +0000 (15:06 +0100)
commit7f0fa47ceebcff0e3591bb7e32a71a2cd7846149
tree71c31482690ccb6579442ce3ce4e2f7673e1de0d
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
mmc: sdhci-pci: Add DMI quirk for missing CD GPIO on Vexia Edu Atla 10 tablet

The Vexia Edu Atla 10 tablet distributed to schools in the Spanish
AndalucĂ­a region has no ACPI fwnode associated with the SDHCI controller
for its microsd-slot and thus has no ACPI GPIO resource info.

This causes the following error to be logged and the slot to not work:
[   10.572113] sdhci-pci 0000:00:12.0: failed to setup card detect gpio

Add a DMI quirk table for providing gpiod_lookup_tables with manually
provided CD GPIO info and use this DMI table to provide the CD GPIO info
on this tablet. This fixes the microsd-slot not working.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Message-ID: <20241118210049.311079-1-hdegoede@redhat.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c
drivers/mmc/host/sdhci-pci.h