diff options
author | 2013-01-10 13:41:04 -0500 | |
---|---|---|
committer | 2013-01-20 04:04:29 -0800 | |
commit | 661f7cb55c61fa7491e0caf21e55f59e5bc49abe (patch) | |
tree | 285511be3d5676f321392e9fe8683564d6ab646a /drivers/dma/mmp_pdma.c | |
parent | pl080.h: moved from arm/include/asm/hardware to include/linux/amba/ (diff) | |
download | linux-661f7cb55c61fa7491e0caf21e55f59e5bc49abe.tar.gz linux-661f7cb55c61fa7491e0caf21e55f59e5bc49abe.tar.bz2 linux-661f7cb55c61fa7491e0caf21e55f59e5bc49abe.zip |
dma: edma: fix slave config dependency on direction
The edma_slave_config() implementation depends on the
direction field such that it will not properly configure
a slave channel when called without direction set.
This fixes the implementation so that the slave config
is copied as is and prep_slave_sg() handles the
direction dependent handling. spi-omap2-mcspi and
omap_hsmmc both expose this bug as they configure the
slave channel config from a common path with an unconfigured
direction field.
Signed-off-by: Matt Porter <mporter@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mmp_pdma.c')
0 files changed, 0 insertions, 0 deletions