]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc9d850637d102817ec98e709673bcb0a1b75706
tree937a8810cad8db4a170aeaf83ee2d38071c7d58b
parentaaeff0067e0295391da2192347544985f495239e
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