summaryrefslogtreecommitdiff
path: root/mm/bounce.c
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2012-09-14 17:41:57 -0500
committerVinod Koul <vinod.koul@intel.com>2013-01-06 20:57:45 -0800
commit9a6cecc846169159bfce511f4c0034bb96eea1ca (patch)
treee5d0dcef464741a0988e4355744a33cb55e6bcd4 /mm/bounce.c
parentd1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff)
downloadlinux-3.10-9a6cecc846169159bfce511f4c0034bb96eea1ca.tar.gz
linux-3.10-9a6cecc846169159bfce511f4c0034bb96eea1ca.tar.bz2
linux-3.10-9a6cecc846169159bfce511f4c0034bb96eea1ca.zip
dmaengine: add helper function to request a slave DMA channel
Currently slave DMA channels are requested by calling dma_request_channel() and requires DMA clients to pass various filter parameters to obtain the appropriate channel. With device-tree being used by architectures such as arm and the addition of device-tree helper functions to extract the relevant DMA client information from device-tree, add a new function to request a slave DMA channel using device-tree. This function is currently a simple wrapper that calls the device-tree of_dma_request_slave_channel() function. Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Benoit Cousson <b-cousson@ti.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Russell King <linux@arm.linux.org.uk> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Vinod Koul <vinod.koul@intel.com> Cc: Dan Williams <djbw@fb.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jon Hunter <jon-hunter@ti.com> Reviewed-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'mm/bounce.c')
0 files changed, 0 insertions, 0 deletions