]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: always export dw_dma_{en,dis}able
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Sep 2014 14:18:13 +0000 (17:18 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 15 Oct 2014 15:01:04 +0000 (20:31 +0530)
commitaea5f1763ec2d4d88922eb31bd26e7586fd7189c
treeea301843ba8ea9d3a56439854082f9b96c7b52da
parentad6a7ef2999df50837bb09542cf16d6027ea93f8
dmaengine: dw: always export dw_dma_{en,dis}able

Instead of conditional exporing of dw_dma_suspend() / dw_dma_resume() let's
export dw_dma_disable() / dw_dma_enable(). Since dw_dma_shutdown() repeats
dw_dma_disable() we may safely remove it at all.

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/pci.c
drivers/dma/dw/platform.c