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:f7c799e950("dmaengine: dw: we do support Merrifield SoC in PCI mode") Depends-on:b685fe26e9("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>
This commit is contained in:
committed by
Vinod Koul
parent
432e8130af
commit
38e4fb6672
@@ -41,6 +41,7 @@ void dw_dma_acpi_controller_register(struct dw_dma *dw)
|
||||
if (ret)
|
||||
dev_err(dev, "could not register acpi_dma_controller\n");
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dw_dma_acpi_controller_register);
|
||||
|
||||
void dw_dma_acpi_controller_free(struct dw_dma *dw)
|
||||
{
|
||||
@@ -51,3 +52,4 @@ void dw_dma_acpi_controller_free(struct dw_dma *dw)
|
||||
|
||||
acpi_dma_controller_free(dev);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dw_dma_acpi_controller_free);
|
||||
|
||||
Reference in New Issue
Block a user