summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw_dmac.c
diff options
context:
space:
mode:
authorMatt Porter <mporter@ti.com>2013-02-01 18:22:52 +0000
committerVinod Koul <vinod.koul@intel.com>2013-02-27 22:37:34 +0530
commit864ef69b2d9b34e7c85baa9c5c601d5e735b208a (patch)
tree3f6d1de5857b492ee9823237b0ee446049615923 /drivers/dma/dw_dmac.c
parent17166a3b6e88b93189e6be5f7e1335a3cc4fa965 (diff)
downloadop-kernel-dev-864ef69b2d9b34e7c85baa9c5c601d5e735b208a.zip
op-kernel-dev-864ef69b2d9b34e7c85baa9c5c601d5e735b208a.tar.gz
dmaengine: add dma_request_slave_channel_compat()
Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver is instantiated via DT, the appropriate channel request call will be made. This allows for a much cleaner migration of drivers to the dmaengine DT API as platforms continue to be mixed between those that boot using DT and those that do not. Suggested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Matt Porter <mporter@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw_dmac.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud