dmaengine: ste_dma40: Don't configure runtime configurable setup during allocate
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:26 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:13:22 +0000 (21:13 +0200)
commit9b233f9b2e927a93b3dc8b8e9c1d59f79be13dcc
tree6fa47f114b45863b1c76a6dc0358d1f0ecbda8f3
parent57e65ad77fef1b026f5bdf1cd417bb6346b24fdf
dmaengine: ste_dma40: Don't configure runtime configurable setup during allocate

Using the dmaengine API for slave transfers, allocating and configuring
a channel are two separate actions. Here we're removing logical channel
configuration from the channel allocation routine for slave transfers,
as the same config is already done in the runtime config function, and
put the corresponding call into d40_config_memcpy() for the memcpy
code path.

Cc: Dan Williams <djbw@fb.com>
Cc: Per Forlin <per.forlin@stericsson.com>
Cc: Rabin Vincent <rabin@rab.in>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
[Edited the commit message]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/dma/ste_dma40.c