dmaengine: dw: Register ACPI DMA controller for PCI that has companion
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 May 2020 18:24:15 +0000 (21:24 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 Jun 2020 16:24:47 +0000 (21:54 +0530)
commit38e4fb66728f01821f5ac0ed2adb4a3d7f40329c
treecb45a7db1f7ba447cedbb818f2cd3c32909cadc5
parent432e8130af88e486c9419fe18fbff2edd64db374
dmaengine: dw: Register ACPI DMA controller for PCI that has companion

If PCI enumerated controller has a companion device,
register it in the ACPI DMA controllers as well.

Fixes: f7c799e950f9 ("dmaengine: dw: we do support Merrifield SoC in PCI mode")
Depends-on: b685fe26e9af ("dmaengine: dw: platform: Split ACPI helpers to separate module")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200526182416.52805-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/Makefile
drivers/dma/dw/acpi.c
drivers/dma/dw/pci.c