]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: introduce generic filter function
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Aug 2014 17:29:16 +0000 (20:29 +0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 11 Sep 2014 06:18:13 +0000 (11:48 +0530)
commit8ecfc68e799c101efd908064f640aabc500e95cc
tree516da38bd5d9114a6a3b2140fb8c69a873162976
parentb5c759ab68b3e9aad79f6f14f48b307a34056603
dmaengine: dw: introduce generic filter function

The introduced filter function would be reused in the ACPI and DT cases since
in those cases we have to apply mandatory data to the requested channel. Thus,
patch moves platform driver to use it in that case.

The function unlikely can't be used by users of the driver due to an implicit
dependency to the dw_dmac_core module.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/core.c
drivers/dma/dw/internal.h
drivers/dma/dw/platform.c