Re: [PATCH] mmc: sdhci-acpi: detect sd card reader on asus x205ta

From: Adrian Hunter
Date: Mon Sep 07 2015 - 02:06:31 EST


On 05/09/15 09:49, Michele Curti wrote:
> Add an entry to the sdhci_acpi_uids list to detect the SD card
> reader on the Asus X205Ta laptop.
>
> dstd table:
>
> Device (SDHC)
> {
> Name (_ADR, Zero) // _ADR: Address
> Name (_HID, "PNP0FFF") // _HID: Hardware ID
> Name (_CID, "PNP0D40" /* SDA Standard Compliant SD Host Controller */)
> Name (_DDN, "Intel(R) SD Card Controller - 80860F16") // _DDN: DOS Dev
> Name (_UID, 0x03) // _UID: Unique ID
> Name (RDEP, Package (0x02)
>
> Signed-off-by: Michele Curti <michele.curti@xxxxxxxxx>

Acked-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>

> ---
> drivers/mmc/host/sdhci-acpi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
> index 22d929f..78aa16a 100644
> --- a/drivers/mmc/host/sdhci-acpi.c
> +++ b/drivers/mmc/host/sdhci-acpi.c
> @@ -247,6 +247,7 @@ static const struct sdhci_acpi_uid_slot sdhci_acpi_uids[] = {
> { "INT33C6" , NULL, &sdhci_acpi_slot_int_sdio },
> { "INT3436" , NULL, &sdhci_acpi_slot_int_sdio },
> { "INT344D" , NULL, &sdhci_acpi_slot_int_sdio },
> + { "PNP0FFF" , "3" , &sdhci_acpi_slot_int_sd },
> { "PNP0D40" },
> { },
> };
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/