summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-08-27 09:45:45 +0200
committerVinod Koul <vkoul@kernel.org>2018-08-29 21:54:56 +0530
commit5658f4f94ccab6fa93af82368a63256011f9592c (patch)
tree6e06bdb6b981dd3aead3f3feb247e20a615ee020 /drivers/dma/dw
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
downloadlinux-stable-5658f4f94ccab6fa93af82368a63256011f9592c.tar.gz
linux-stable-5658f4f94ccab6fa93af82368a63256011f9592c.tar.bz2
linux-stable-5658f4f94ccab6fa93af82368a63256011f9592c.zip
dmaengine: dw: Add alternative ACPI HIDs for Cherry Trail DMA controllers
Bay and Cherry Trail DSTDs represent a different set of devices depending on which OS the device think it is booting. One set of decices for Windows and another set of devices for Android which targets the Android-x86 Linux kernel fork (which e.g. used to have its own display driver instead of using the i915 driver). Which set of devices we are actually going to get is out of our control, this is controlled by the ACPI OSID variable, which gets either set through an EFI setup option, or sometimes is autodetected. So we need to support both. This commit adds support for the 80862286 and 808622C0 ACPI HIDs which we get for the first resp. second DMA controller on Cherry Trail devices when OSID is set to Android. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/dw')
-rw-r--r--drivers/dma/dw/platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/dw/platform.c b/drivers/dma/dw/platform.c
index f62dd0944908..f01b2c173fa6 100644
--- a/drivers/dma/dw/platform.c
+++ b/drivers/dma/dw/platform.c
@@ -284,6 +284,8 @@ MODULE_DEVICE_TABLE(of, dw_dma_of_id_table);
#ifdef CONFIG_ACPI
static const struct acpi_device_id dw_dma_acpi_id_table[] = {
{ "INTL9C60", 0 },
+ { "80862286", 0 },
+ { "808622C0", 0 },
{ }
};
MODULE_DEVICE_TABLE(acpi, dw_dma_acpi_id_table);