]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: export probe()/remove() and Co to users
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Sep 2014 14:18:15 +0000 (17:18 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 15 Oct 2014 15:01:05 +0000 (20:31 +0530)
commitd789ce0068ff3fe830ac2dd41cab5cb4fe1d57e6
tree58a1d9eb2ef5feb7f509a41fffc786ab92c3dafb
parent543b4b69b87ac20161463657130ec8c1cb86c0d7
dmaengine: dw: export probe()/remove() and Co to users

The driver library functions can be used directly by the compound devices such
as ADSP or serial driver where DesignWare DMA IP is privately attached to the
main hardware.

Instead of creating a new platform device leaf they may call dw_dma_probe()
with given struct dw_dma_chip directly and make sure that the main device is
DMA capable.

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