]> 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)
commit7761576a71655d3f78d0582551ec96f848427308
tree937a8810cad8db4a170aeaf83ee2d38071c7d58b
parentbb18986387c32066e561a84e2a43ec354fd8a891
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