diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-05-15 10:51:25 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-23 21:13:19 +0200 |
commit | 57e65ad77fef1b026f5bdf1cd417bb6346b24fdf (patch) | |
tree | c7683a8e0c9464bedd0cdea1d03c54a610e9c4e1 /drivers/dma/ste_dma40_ll.h | |
parent | 9778256b9810d2c758a7537a43825b7d81b5765f (diff) | |
download | linux-stable-57e65ad77fef1b026f5bdf1cd417bb6346b24fdf.tar.gz linux-stable-57e65ad77fef1b026f5bdf1cd417bb6346b24fdf.tar.bz2 linux-stable-57e65ad77fef1b026f5bdf1cd417bb6346b24fdf.zip |
dmaengine: ste_dma40: Remove unnecessary call to d40_phy_cfg()
The majority of configuration done in d40_phy_config() pertains
to physical channels. Move the call over to runtime config which
has different code paths for physical and logical channels already,
and make it an exclusive physical channel config function as the
name implies, and drop the is_log argument.
Since we moved the call to runtime_config() it only gets called
for device transfers, so encode the small snippet of configuration
pertaining to memcpy channels into the d40_config_memcpy()
function.
Acked-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
[rewrote the commit message]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/dma/ste_dma40_ll.h')
-rw-r--r-- | drivers/dma/ste_dma40_ll.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/ste_dma40_ll.h b/drivers/dma/ste_dma40_ll.h index fdde8ef77542..1b47312bc574 100644 --- a/drivers/dma/ste_dma40_ll.h +++ b/drivers/dma/ste_dma40_ll.h @@ -432,8 +432,7 @@ enum d40_lli_flags { void d40_phy_cfg(struct stedma40_chan_cfg *cfg, u32 *src_cfg, - u32 *dst_cfg, - bool is_log); + u32 *dst_cfg); void d40_log_cfg(struct stedma40_chan_cfg *cfg, u32 *lcsp1, |