From: Mike Frysinger Date: Tue, 7 Apr 2009 02:00:36 +0000 (-0700) Subject: Blackfin SPI Driver: unify duplicated code in dma read/write paths X-Git-Tag: v2.6.30-rc1~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aec35661733c651f616f9b3f69d758f6bfe2a7f;p=pandora-kernel.git Blackfin SPI Driver: unify duplicated code in dma read/write paths For DMA TX/RX operation in pump_transfers, DMA contriguration code in TX and RX paths are almost the same. This patch unify the duplicated DMA code to make it more readable. Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu Acked-by: David Brownell Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed