mmc: sdhci-acpi: Workaround conflict with PCI wifi on GPD Win handheld
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 21 Jun 2017 12:08:39 +0000 (15:08 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 11 Jul 2017 12:11:59 +0000 (14:11 +0200)
commit17753d16251837125014caa6b49406f52aef8916
tree937a8810cad8db4a170aeaf83ee2d38071c7d58b
parent9967468c0a109644e4a1f5b39b39bf86fe7507a7
mmc: sdhci-acpi: Workaround conflict with PCI wifi on GPD Win handheld

GPDwin uses PCI wifi which conflicts with SDIO's use of
acpi_device_fix_up_power() on child device nodes. Specifically
acpi_device_fix_up_power() causes the wifi module to get turned off.
Identifying GPDwin is problematic, but since SDIO is only used for wifi,
the presence of the PCI wifi card in the expected slot with an ACPI
companion node, is used to indicate that acpi_device_fix_up_power() should
be avoided.

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