From: Matt Porter Date: Thu, 10 Jan 2013 18:41:04 +0000 (-0500) Subject: dma: edma: fix slave config dependency on direction X-Git-Tag: v3.9-rc1~80^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=661f7cb55c61fa7491e0caf21e55f59e5bc49abe;p=pandora-kernel.git 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed