]> 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)
commit0873b9301231e3641a2f32c1ac2b244d0a30c205
tree516da38bd5d9114a6a3b2140fb8c69a873162976
parent50f1cec2bb3d4b90a2bd30e101e93257b509777f
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